* Handle variable createFindlibDestdir correctly in ocaml-findlib

* Fix HOL Light derivation

svn path=/nixpkgs/trunk/; revision=25269
This commit is contained in:
Marco Maggesi
2010-12-23 19:28:06 +00:00
parent 8e81fd9ee8
commit 51d6c8df91
3 changed files with 6 additions and 6 deletions
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
export OCAMLPATH="''${OCAMLPATH}''${OCAMLPATH:+:}''$1/lib/ocaml/${ocaml_version}/site-lib/"
fi
export OCAMLFIND_DESTDIR="''$out/lib/ocaml/${ocaml_version}/site-lib/"
if test -n $createFindlibDestdir; then
if test -n "$createFindlibDestdir"; then
ensureDir $OCAMLFIND_DESTDIR
fi
}