* Remove the automatic creation of a directory from the setupHook of findlib since this can silently produce empty paths in derivations

svn path=/nixpkgs/trunk/; revision=25219
This commit is contained in:
Marco Maggesi 2010-12-21 08:33:37 +00:00
parent 955f9c19a6
commit 2c85e4b96f

View File

@ -40,7 +40,6 @@ stdenv.mkDerivation {
export OCAMLPATH="''${OCAMLPATH}''${OCAMLPATH:+:}''$1/lib/ocaml/${ocaml_version}/site-lib/"
fi
export OCAMLFIND_DESTDIR="''$out/lib/ocaml/${ocaml_version}/site-lib/"
ensureDir ''$OCAMLFIND_DESTDIR
}
envHooks=(''${envHooks[@]} addOCamlPath)