summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-05-29 05:28:04 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-06-06 07:14:26 +0000
commit94445ed4bc4229d8bc40076f0d77ff265138c3c9 (patch)
tree71fc6f0a7a9e6952e7ebd50ca9e8ae1a6dac7219 /pkgs/development/tools/ocaml
parent733d88574b46b666648140c3505f32fc5cc6acec (diff)
downloadnixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.tar
nixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.tar.gz
nixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.tar.bz2
nixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.tar.lz
nixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.tar.xz
nixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.tar.zst
nixlib-94445ed4bc4229d8bc40076f0d77ff265138c3c9.zip
ocamlPackages.findlib: fix stublibs
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/findlib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix
index e25b94714b68..18b84e2c961d 100644
--- a/pkgs/development/tools/ocaml/findlib/default.nix
+++ b/pkgs/development/tools/ocaml/findlib/default.nix
@@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
         if test -d "''$1/lib/ocaml/${ocaml.version}/site-lib"; then
             export OCAMLPATH="''${OCAMLPATH}''${OCAMLPATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/"
         fi
-        if test -d "''$1/lib/ocaml/${ocaml.version}/site-lib/stubslibs"; then
-            export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/stubslibs"
+        if test -d "''$1/lib/ocaml/${ocaml.version}/site-lib/stublibs"; then
+            export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/stublibs"
         fi
         export OCAMLFIND_DESTDIR="''$out/lib/ocaml/${ocaml.version}/site-lib/"
         if test -n "$createFindlibDestdir"; then