ocamlPackages.lambdaTerm: use buildOcaml
This adds the shared objects setup hook to prepare CAML_LD_LIBRARY_PATH.
This commit is contained in:
parent
02682e5093
commit
d27e250627
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, fetchurl, libev, ocaml, findlib, ocamlbuild, ocaml_lwt, ocaml_react, zed }:
|
{ stdenv, buildOcaml, fetchurl, libev, ocaml, findlib, ocamlbuild, ocaml_lwt, ocaml_react, zed }:
|
||||||
|
|
||||||
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildOcaml rec {
|
||||||
version = "1.10";
|
version = "1.10";
|
||||||
name = "lambda-term-${version}";
|
name = "lambda-term";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/diml/lambda-term/archive/${version}.tar.gz";
|
url = "https://github.com/diml/lambda-term/archive/${version}.tar.gz";
|
||||||
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
hasSharedObjects = true;
|
||||||
|
|
||||||
meta = { description = "Terminal manipulation library for OCaml";
|
meta = { description = "Terminal manipulation library for OCaml";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Lambda-term is a cross-platform library for
|
Lambda-term is a cross-platform library for
|
||||||
|
Loading…
Reference in New Issue
Block a user