mpfr: move gmp to propagatedBuildInputs

This commit is contained in:
Luca Bruno 2015-04-08 11:33:07 +02:00
parent 5872185250
commit 723b60805e

View File

@ -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;