diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-10-15 17:43:23 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-28 10:15:49 +0100 |
commit | 148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65 (patch) | |
tree | 439eccafb4a7d2eb25eb1c85823753228f6199fd /pkgs/development/libraries/gmp | |
parent | dd915f82e7ca180ad9adfef024e408e666e12c9d (diff) | |
download | nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.tar nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.tar.gz nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.tar.bz2 nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.tar.lz nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.tar.xz nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.tar.zst nixpkgs-148e03b2f1cb48cd33f3fde078e2c28ebc3a9d65.zip |
gmp: split into multiple outputs
Diffstat (limited to 'pkgs/development/libraries/gmp')
-rw-r--r-- | pkgs/development/libraries/gmp/6.x.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gmp/6.x.nix b/pkgs/development/libraries/gmp/6.x.nix index 171611e1249..1fc869e0107 100644 --- a/pkgs/development/libraries/gmp/6.x.nix +++ b/pkgs/development/libraries/gmp/6.x.nix @@ -2,7 +2,7 @@ with { inherit (stdenv.lib) optional optionalString; }; -stdenv.mkDerivation rec { +let self = stdenv.mkDerivation rec { name = "gmp-6.0.0a"; src = fetchurl { # we need to use bz2, others aren't in bootstrapping stdenv @@ -10,6 +10,7 @@ stdenv.mkDerivation rec { sha256 = "1bwsfmf0vrx3rwl4xmi5jhhy3v1qx1xj0m7p9hb0fvcw9f09m3kz"; }; + passthru.static = self.out; nativeBuildInputs = [ m4 ]; configureFlags = @@ -69,4 +70,5 @@ stdenv.mkDerivation rec { platforms = platforms.all; maintainers = [ maintainers.simons ]; }; -} +}; + in self |