summary refs log tree commit diff
path: root/pkgs/development/libraries/mpfr
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2015-04-08 11:33:07 +0200
committerLuca Bruno <lethalman88@gmail.com>2015-04-08 11:36:09 +0200
commit723b60805e587aa51f00199c99efe993905e303c (patch)
tree7788eaeb8c4d17aebe80abc8c68a7209f342c75c /pkgs/development/libraries/mpfr
parent5872185250eecbbcd457bfac867bd8fd09943bfe (diff)
downloadnixpkgs-723b60805e587aa51f00199c99efe993905e303c.tar
nixpkgs-723b60805e587aa51f00199c99efe993905e303c.tar.gz
nixpkgs-723b60805e587aa51f00199c99efe993905e303c.tar.bz2
nixpkgs-723b60805e587aa51f00199c99efe993905e303c.tar.lz
nixpkgs-723b60805e587aa51f00199c99efe993905e303c.tar.xz
nixpkgs-723b60805e587aa51f00199c99efe993905e303c.tar.zst
nixpkgs-723b60805e587aa51f00199c99efe993905e303c.zip
mpfr: move gmp to propagatedBuildInputs
Diffstat (limited to 'pkgs/development/libraries/mpfr')
-rw-r--r--pkgs/development/libraries/mpfr/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mpfr/default.nix b/pkgs/development/libraries/mpfr/default.nix
index d24431e59fe..555351bddc3 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;