Skip to content

Commit 69ca705

Browse files
Halbarothvbgl
authored andcommitted
Install dllcamlzip.so into the stublibs directory
camlzip installs this file in `site-lib/zip` but dune expects to find it in `site-lib/stublibs`.
1 parent fa874c4 commit 69ca705

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkgs/development/ocaml-modules/camlzip/default.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ stdenv.mkDerivation {
6363

6464
inherit (param) patches;
6565

66-
createFindlibDestdir = true;
67-
6866
postPatch =
6967
param.postPatchInit
7068
+ ''
@@ -78,6 +76,10 @@ stdenv.mkDerivation {
7876
"allopt"
7977
];
8078

79+
preInstall = ''
80+
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/stublibs
81+
'';
82+
8183
postInstall = ''
8284
ln -s $out/lib/ocaml/${ocaml.version}/site-lib/{,caml}zip
8385
'';

0 commit comments

Comments
 (0)