findlib setup hook: createFindlibDestdir
may not be defined
This commit is contained in:
parent
908b143e51
commit
6fb526b32c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue