Merge remote-tracking branch 'upstream/master' into hardened-stdenv
This commit is contained in:
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0q5i39pxrasgn9qdxzpfbwhh11ph80p57x6hf48m74261d97j83m";
|
||||
};
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
nativeBuildInputs = [ m4 ];
|
||||
|
||||
# FIXME needs gcc 4.9 in bootstrap tools
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, m4, cxx ? true, withStatic ? true }:
|
||||
{ stdenv, fetchurl, m4, cxx ? true, withStatic ? false }:
|
||||
|
||||
with { inherit (stdenv.lib) optional optionalString; };
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let self = stdenv.mkDerivation rec {
|
||||
name = "gmp-6.1.0";
|
||||
|
||||
src = fetchurl { # we need to use bz2, others aren't in bootstrapping stdenv
|
||||
@@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1s3kddydvngqrpc6i1vbz39raya2jdcl042wi0ksbszgjjllk129";
|
||||
};
|
||||
|
||||
#outputs TODO: split $cxx due to libstdc++ dependency; maybe port to gmp5;
|
||||
# maybe let ghc use a version with *.so shared with rest of nixpkgs and *.a added
|
||||
# - see #5855 for related discussion
|
||||
outputs = [ "dev" "out" "info" ];
|
||||
passthru.static = self.out;
|
||||
|
||||
nativeBuildInputs = [ m4 ];
|
||||
|
||||
configureFlags =
|
||||
@@ -69,4 +75,5 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.simons ];
|
||||
};
|
||||
}
|
||||
};
|
||||
in self
|
||||
|
||||
Reference in New Issue
Block a user