* 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
wip/yesman
Marco Maggesi 14 years ago
parent 955f9c19a6
commit 2c85e4b96f
  1. 1
      pkgs/development/tools/ocaml/findlib/default.nix

@ -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)

Loading…
Cancel
Save