nixpkgs/pkgs/development
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
..
arduino
beam-modules treewide: remove unused buildEnv parameters 2017-04-16 10:29:49 +02:00
bower-modules/generic
compilers halvm: mark build as broken 2017-04-21 16:25:53 +02:00
coq-modules
dotnet-modules/patches
eclipse/ecj
em-modules/generic
go-modules go builder: use removeReferencesTo 2017-03-29 00:35:01 +02:00
guile-modules treewide: remove unused buildEnv parameters 2017-04-16 10:29:49 +02:00
haskell-modules haskell-old-time: fix build with GHC HEAD 2017-04-21 16:25:54 +02:00
idris-modules
interpreters picolisp: 16.6 -> 16.12 2017-04-21 00:25:23 +02:00
java-modules treewide: use boolToString function 2017-04-11 18:18:53 +02:00
libraries Merge pull request #25069 from matthewbauer/libbsd-darwin 2017-04-21 22:55:08 +02:00
lisp-modules compile uiop/version with uiop, seems needed for monolithic bundles in some cases 2017-04-16 19:25:48 +02:00
lua-modules
misc
mobile Get rid of all with { inherit... } and just used let inherit... 2017-03-30 03:05:05 -04:00
node-packages prettier: init at 1.1.0 2017-04-15 20:36:57 +02:00
ocaml-modules ocamlPackages.lambdaTerm: use buildOcaml 2017-04-22 13:36:23 -05:00
perl-modules perlPackages.OpenGL: 0.6703 -> 0.70 2017-03-24 19:15:20 +01:00
pharo Merge pull request #24595 from lukego/pharo-no-pic 2017-04-04 12:01:27 +02:00
pure-modules purePackages.octave: Use octaveHg 2017-04-09 21:54:39 +10:00
python-modules pythonPackages.typeguard: init at 2.3.1 (#25040) 2017-04-21 21:20:49 +01:00
qtcreator Remove bbenoist from maintainers 2017-03-23 03:03:04 +01:00
r-modules imager (r-modules): add pkgs.x11 to fix build, unmark imager/ForestTools as broken 2017-04-20 14:18:01 -04:00
ruby-modules ruby-modules: check tzinfo version 2017-04-11 10:44:54 +02:00
tools ocamlPackages.utop: fix environment variables 2017-04-24 00:12:46 -05:00
web nodejs: 7.7.3 -> 7.9.0 2017-04-18 22:43:50 +02:00