diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-08-27 01:14:09 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-08-27 01:14:09 +0200 |
commit | fb59f27a4368b1436518f9f76c6e2e68f60b92a6 (patch) | |
tree | a68c3ac03a7ea04fd4b756a9d3cabf2667896e62 /pkgs/development/libraries/gmp | |
parent | 4dccb224c584194e964b5fbef5fe2cee28c57803 (diff) | |
download | nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.tar nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.tar.gz nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.tar.bz2 nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.tar.lz nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.tar.xz nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.tar.zst nixpkgs-fb59f27a4368b1436518f9f76c6e2e68f60b92a6.zip |
WIP: getting good
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r-- | pkgs/development/libraries/gmp/5.1.x.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gmp/5.1.x.nix b/pkgs/development/libraries/gmp/5.1.x.nix index 9e28334804b..778b5144f29 100644 --- a/pkgs/development/libraries/gmp/5.1.x.nix +++ b/pkgs/development/libraries/gmp/5.1.x.nix @@ -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; } -) |