aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/zarith
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-11-07 09:50:39 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-11-07 09:50:39 +0000
commitfbbd88017f1eafae02202f89d8ce28a52a221ba1 (patch)
treef8fdcab0c51107be526ff5578b3d36db9d7ae9ca /pkgs/development/ocaml-modules/zarith
parent8baab59b986c01eab35832fa209653ea4b7e3f70 (diff)
zarith: propagate build input gmp
Diffstat (limited to 'pkgs/development/ocaml-modules/zarith')
-rw-r--r--pkgs/development/ocaml-modules/zarith/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/zarith/default.nix b/pkgs/development/ocaml-modules/zarith/default.nix
index 2f679da977d..ccd278a2faa 100644
--- a/pkgs/development/ocaml-modules/zarith/default.nix
+++ b/pkgs/development/ocaml-modules/zarith/default.nix
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
sha256 = "1mx3nxcn5h33qhx4gbg0hgvvydwlwdvdhqcnvfwnmf9jy3b8frll";
};
- buildInputs = [ ocaml findlib pkgconfig gmp perl ];
+ buildInputs = [ ocaml findlib pkgconfig perl ];
+ propagatedBuildInputs = [ gmp ];
patchPhase = ''
substituteInPlace ./z_pp.pl --replace '/usr/bin/perl' '${perl}/bin/perl'