diff options
author | Luca Bruno <lethalman88@gmail.com> | 2015-04-08 11:33:07 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2015-04-08 11:36:09 +0200 |
commit | 723b60805e587aa51f00199c99efe993905e303c (patch) | |
tree | 7788eaeb8c4d17aebe80abc8c68a7209f342c75c /pkgs/development/libraries/mpfr | |
parent | 5872185250eecbbcd457bfac867bd8fd09943bfe (diff) |
mpfr: move gmp to propagatedBuildInputs
Diffstat (limited to 'pkgs/development/libraries/mpfr')
-rw-r--r-- | pkgs/development/libraries/mpfr/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mpfr/default.nix b/pkgs/development/libraries/mpfr/default.nix index d24431e59fe6a..555351bddc350 100644 --- a/pkgs/development/libraries/mpfr/default.nix +++ b/pkgs/development/libraries/mpfr/default.nix @@ -8,7 +8,8 @@ stdenv.mkDerivation rec { sha256 = "0sqvpfkzamxdr87anzakf9dhkfh15lfmm5bsqajk02h1mxh3zivr"; }; - buildInputs = [ gmp ]; + # mpfr.h requires gmp.h + propagatedBuildInputs = [ gmp ]; CFLAGS = "-I${gmp}/include"; LDFLAGS = if stdenv.isDarwin then "-L${gmp}/lib" else null; |