diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-11-07 09:50:39 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-11-07 09:50:39 +0000 |
commit | fbbd88017f1eafae02202f89d8ce28a52a221ba1 (patch) | |
tree | f8fdcab0c51107be526ff5578b3d36db9d7ae9ca /pkgs/development/ocaml-modules/zarith | |
parent | 8baab59b986c01eab35832fa209653ea4b7e3f70 (diff) | |
download | nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.tar nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.tar.gz nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.tar.bz2 nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.tar.lz nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.tar.xz nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.tar.zst nixlib-fbbd88017f1eafae02202f89d8ce28a52a221ba1.zip |
zarith: propagate build input gmp
Diffstat (limited to 'pkgs/development/ocaml-modules/zarith')
-rw-r--r-- | pkgs/development/ocaml-modules/zarith/default.nix | 3 |
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 2f679da977d7..ccd278a2faaf 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' |