ocamlPackages.utop: allow utop to locate topfile

fixes #16085
This commit is contained in:
Jörg Thalheim 2017-06-15 15:15:24 +01:00
parent 19f8213a3e
commit 8ac0e68809

View File

@ -61,8 +61,8 @@ stdenv.mkDerivation rec {
--argv0 "" \
--prefix CAML_LD_LIBRARY_PATH ":" "${get "CAML_LD_LIBRARY_PATH"}" \
--prefix OCAMLPATH ":" "${get "OCAMLPATH"}" \
--prefix OCAMLPATH ":" $(unset OCAMLPATH; addOCamlPath "$out"; printf %s "$OCAMLPATH")
--prefix OCAMLPATH ":" $(unset OCAMLPATH; addOCamlPath "$out"; printf %s "$OCAMLPATH") \
--add-flags "-I ${findlib}/lib/ocaml/${stdenv.lib.getVersion ocaml}/site-lib"
done
'';