about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ulex
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2015-06-12 00:03:00 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2015-06-25 08:55:28 +0200
commite63c1ea33e5871082d6400718e7dad2ba4e3a08a (patch)
treeedf2050786cdd447e07c58242c3389bfe18cd4fe /pkgs/development/ocaml-modules/ulex
parentd440059e7d828518735134aed8826da5214e6efa (diff)
downloadnixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.tar
nixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.tar.gz
nixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.tar.bz2
nixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.tar.lz
nixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.tar.xz
nixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.tar.zst
nixlib-e63c1ea33e5871082d6400718e7dad2ba4e3a08a.zip
ocaml-ulex: fix build with OCaml-4.02 (depends on camlp4)
Diffstat (limited to 'pkgs/development/ocaml-modules/ulex')
-rw-r--r--pkgs/development/ocaml-modules/ulex/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/ulex/default.nix b/pkgs/development/ocaml-modules/ulex/default.nix
index 28950078f39e..7c8acafe769e 100644
--- a/pkgs/development/ocaml-modules/ulex/default.nix
+++ b/pkgs/development/ocaml-modules/ulex/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, ocaml, findlib }:
+{ stdenv, fetchurl, ocaml, findlib, camlp4 }:
 
 let
   ocaml_version = (builtins.parseDrvName ocaml.name).version;
@@ -17,7 +17,8 @@ stdenv.mkDerivation {
 
   createFindlibDestdir = true;
 
-  buildInputs = [ocaml findlib];
+  buildInputs = [ ocaml findlib ];
+  propagatedBuildInputs = [ camlp4 ];
 
   buildFlags = "all all.opt";