mpfr: move gmp to propagatedBuildInputs
This commit is contained in:
parent
5872185250
commit
723b60805e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user