Merge pull request #26599 from Mic92/utop

ocamlPackages.utop: allow utop to locate topfile
This commit is contained in:
Jörg Thalheim 2017-06-15 19:43:18 +01:00 committed by GitHub
commit 10d0213d3f

@ -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
'';