git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.lambdaTerm: use buildOcaml

This adds the shared objects setup hook to prepare CAML_LD_LIBRARY_PATH.

commitd27e250627dd2f03e1436410c69b49f6463874ca authorPatrick Mahoney <pat@polycrystal.org> dateSat 22 Apr 2017, 13:36 (10 years ago) parent02682e5
1 file changed+5−3
pkgs/development/ocaml-modules/lambda-term/default.nix+5−3
pkgs/development/ocaml-modules/lambda-term/default.nix+5−3
@@ -1,10 +1,10 @@
1−{ stdenv, fetchurl, libev, ocaml, findlib, ocamlbuild, ocaml_lwt, ocaml_react, zed }:
1+{ stdenv, buildOcaml, fetchurl, libev, ocaml, findlib, ocamlbuild, ocaml_lwt, ocaml_react, zed }:
22
33assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
44
5−stdenv.mkDerivation rec {
5+buildOcaml rec {
66 version = "1.10";
7− name = "lambda-term-${version}";
7+ name = "lambda-term";
88
99 src = fetchurl {
1010 url = "https://github.com/diml/lambda-term/archive/${version}.tar.gz";
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
1717
1818 createFindlibDestdir = true;
1919
20+ hasSharedObjects = true;
21+
2022 meta = { description = "Terminal manipulation library for OCaml";
2123 longDescription = ''
2224 Lambda-term is a cross-platform library for