diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-07 17:12:25 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-08 13:28:59 -0500 |
commit | 6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce (patch) | |
tree | 40b0e7fd28b7c96c19be61f810b0f189f6e4f9c2 /pkgs/development/tools/ocaml/findlib | |
parent | 908b143e510a0d6275d1960334e488173241251c (diff) | |
download | nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.tar nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.tar.gz nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.tar.bz2 nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.tar.lz nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.tar.xz nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.tar.zst nixpkgs-6fb526b32c86bb3e5fdf5694e23f2f53d7d892ce.zip |
findlib setup hook: `createFindlibDestdir` may not be defined
Diffstat (limited to 'pkgs/development/tools/ocaml/findlib')
-rw-r--r-- | pkgs/development/tools/ocaml/findlib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/ocaml/findlib/default.nix b/pkgs/development/tools/ocaml/findlib/default.nix index 7d95963209a..4398d8e4188 100644 --- a/pkgs/development/tools/ocaml/findlib/default.nix +++ b/pkgs/development/tools/ocaml/findlib/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { 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 + if test -n "''${createFindlibDestdir-}"; then mkdir -p $OCAMLFIND_DESTDIR fi } |