1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs
Patrick Mahoney 1a7586ce24 ocamlPackages.utop: fix environment variables
In the wrapper scripts, both OCAMLPATH and CAML_LD_LIBRARY_PATH where
being created with a trailing literal $OCAMLPATH, rather than the
expanded version. Thus if, for example, ocamlPackages.core was present
in OCAMLPATH prior to running utop, the wrapper script would set the
variable to $utop_dependencies:'$OCAMLPATH', and when using utop to
open Core.Std, the following error was reported:

    findlib: [WARNING] cannot read directory $OCAMLPATH: No such file
    or directory

This patch fixes the quoting issue, and further refactors the build to
use standard wrapProgram helper, and uses an "inner derivation" to
re-use the setupHook machinery of buildOCaml and findlib instead of
manually specifying the OCAMLPATH required for utop along with
transitive dependencies.
2017-04-24 00:12:46 -05:00
..
applications Merge pull request #24819 from dbrock/ethrun 2017-04-21 23:54:07 +02:00
build-support rust: improve fetch-cargo-deps determinism for non-sandboxed builds 2017-04-21 23:26:46 +02:00
common-updater
data iana-etc: 20170328 -> 20170417 2017-04-19 08:29:31 +02:00
desktops ephoto: init at 1.0 2017-04-22 03:06:12 +03:00
development ocamlPackages.utop: fix environment variables 2017-04-24 00:12:46 -05:00
games Merge pull request #24521 from orivej/instead-launcher 2017-04-18 01:36:40 +02:00
misc wineUnstable: 2.5 -> 2.6 2017-04-21 21:38:54 +02:00
os-specific grsecurity: 4.9.23-201704181901 -> 4.9.24-201704210851 2017-04-21 15:09:32 +02:00
servers unifi: 5.4.11 -> 5.4.14 2017-04-21 23:13:47 +08:00
shells Merge pull request #24479 from Ma27/init/lambda-mod-zsh-theme 2017-04-22 00:10:14 +02:00
stdenv stdenv: ARM bootstrap: Update bootstrap tarballs to latest hydra-built ones 2017-04-15 01:52:33 +03:00
test
tools Merge pull request #24473 from jgertm/tj/xsv 2017-04-22 00:26:10 +02:00
top-level Merge pull request #24473 from jgertm/tj/xsv 2017-04-22 00:26:10 +02:00