WIP: getting good
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
with { inherit (stdenv.lib) optional; };
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gmp-5.1.3";
|
||||
|
||||
src = fetchurl { # we need to use bz2, others aren't in bootstrapping stdenv
|
||||
@@ -10,6 +10,9 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "0q5i39pxrasgn9qdxzpfbwhh11ph80p57x6hf48m74261d97j83m";
|
||||
};
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
buildInputs = [ stdenv.hookLib.multiout ];
|
||||
|
||||
nativeBuildInputs = [ m4 ];
|
||||
|
||||
configureFlags =
|
||||
@@ -22,6 +25,7 @@ stdenv.mkDerivation (rec {
|
||||
++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
|
||||
++ optional stdenv.is64bit "--with-pic"
|
||||
;
|
||||
dontDisableStatic = withStatic;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -58,6 +62,4 @@ stdenv.mkDerivation (rec {
|
||||
maintainers = [ maintainers.simons ];
|
||||
};
|
||||
}
|
||||
// stdenv.lib.optionalAttrs withStatic { dontDisableStatic = true; }
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user