diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-06-25 00:30:10 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-06-25 08:55:30 +0200 |
commit | 3105b66dbdf14231744762b6d7d8c40cebc00eae (patch) | |
tree | 5ee8bcd92d6883bb1094d9af3f6ef895f9f0e9c0 /pkgs/development/ocaml-modules/lablgtk | |
parent | f7dc2df7c07a6b27785e9b3789309271e7620c03 (diff) | |
download | nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.tar nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.tar.gz nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.tar.bz2 nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.tar.lz nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.tar.xz nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.tar.zst nixpkgs-3105b66dbdf14231744762b6d7d8c40cebc00eae.zip |
lablgtk-2.14: fix build with OCaml-4.02 (needs camlp4)
Diffstat (limited to 'pkgs/development/ocaml-modules/lablgtk')
-rw-r--r-- | pkgs/development/ocaml-modules/lablgtk/2.14.0.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix index 2e50b897f3d..1815bfc64dd 100644 --- a/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix +++ b/pkgs/development/ocaml-modules/lablgtk/2.14.0.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, ocaml, findlib, pkgconfig, gtk, libgnomecanvas, libglade, gtksourceview}: +{ stdenv, fetchurl, ocaml, findlib, pkgconfig, gtk, libgnomecanvas, libglade, gtksourceview, camlp4 }: let ocaml_version = (builtins.parseDrvName ocaml.name).version; @@ -14,7 +14,7 @@ stdenv.mkDerivation (rec { sha256 = "1fnh0amm7lwgyjdhmlqgsp62gwlar1140425yc1j6inwmgnsp0a9"; }; - buildInputs = [ocaml findlib pkgconfig gtk libgnomecanvas libglade gtksourceview]; + buildInputs = [ ocaml findlib pkgconfig gtk libgnomecanvas libglade gtksourceview camlp4 ]; configureFlags = "--with-libdir=$(out)/lib/ocaml/${ocaml_version}/site-lib"; buildFlags = "world"; |