gmp: split into multiple outputs

This commit is contained in:
Vladimír Čunát
2015-10-15 17:43:23 +02:00
parent dd915f82e7
commit 148e03b2f1
24 changed files with 65 additions and 58 deletions

View File

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