Commit Graph

13 Commits

Author SHA1 Message Date
Vladimír Čunát
4ea520ce48
ocamlPackages.utop: add missing makeWrapper
... fixing the build.  No testing otherwise.
2017-05-03 15:48:21 +02:00
Michael Raskin
9ae5487b19 Merge branch 'master' into ocaml-utop 2017-05-01 14:38:18 +02:00
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
Volth
aa8d50ce0b reason: init at 1.13.3 2017-04-23 11:23:21 +00:00
Vincent Laporte
033c5debbc utop: fix on OCaml 4.04
Don’t strip the binary
The wrapper directly calls ocamlrun
2017-04-01 07:39:13 +02:00
Vincent Laporte
690968df54 ocamlPackages.utop: 1.19.2 -> 1.19.3 2017-02-24 19:21:29 +00:00
Vincent Laporte
cc272dc996 OCaml modules: make explicit some dependencies to ocamlbuild 2016-10-10 19:18:07 +02:00
Vincent Laporte
64674d24c3 utop: 1.17 -> 1.19.2 2016-06-06 19:13:18 +02:00
Nicolas B. Pierron
72c6f8a140 Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
Samuel Rivas
37d0d8ac74 utop: 1.15 -> 1.17
Version 1.18 doesn't compile cleanly currently, I need to debug what is going on
there
2015-08-06 08:06:51 +02:00
Vincent Laporte
54c8a82818 utop: wrap all installed programs 2015-01-29 08:43:15 +01:00
Aristid Breitkreuz
3f2a64d132 ocamlPackages.utop: update from 1.14 to 1.15 2014-10-08 20:23:29 +02:00
Florent Becker
d7b67d8cfa add utop (improved ocaml toplevel) 2014-08-30 19:37:15 +04:00