diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index ba18c8746a60..28413971c004 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -2,7 +2,7 @@ , storeDir ? "/nix/store" , stateDir ? "/nix/var" , confDir ? "/etc" -, aws-sdk-cpp, boehmgc, boost +, boehmgc , stdenv, llvmPackages_6 }: @@ -170,7 +170,7 @@ in rec { # Nix1 has the perl bindings by default, so no need to build the manually. includesPerl = true; - inherit storeDir stateDir confDir stdenv aws-sdk-cpp boehmgc boost; + inherit storeDir stateDir confDir boehmgc; }; nixStable = callPackage common (rec { @@ -180,7 +180,7 @@ in rec { sha256 = "9fea4b52db0b296dcf05d36f7ecad9f48396af3a682bb21e31f8d04c469beef8"; }; - inherit storeDir stateDir confDir stdenv aws-sdk-cpp boehmgc boost; + inherit storeDir stateDir confDir boehmgc; } // stdenv.lib.optionalAttrs stdenv.cc.isClang { stdenv = llvmPackages_6.stdenv; }); @@ -196,7 +196,7 @@ in rec { }; fromGit = true; - inherit storeDir stateDir confDir stdenv aws-sdk-cpp boehmgc boost; + inherit storeDir stateDir confDir boehmgc; }); nixFlakes = lib.lowPrio (callPackage common rec { @@ -210,7 +210,7 @@ in rec { }; fromGit = true; - inherit storeDir stateDir confDir stdenv aws-sdk-cpp boehmgc boost; + inherit storeDir stateDir confDir boehmgc; }); } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9c977dfddfa2..7ac4f781ad7e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24764,18 +24764,6 @@ in storeDir = config.nix.storeDir or "/nix/store"; stateDir = config.nix.stateDir or "/nix/var"; boehmgc = boehmgc.override { enableLargeConfig = true; }; - # Tarball evaluation fails with a gcc9 based nix-env. - # $ nix-build pkgs/top-level/release.nix -A tarball - stdenv = if stdenv.cc.isGNU then gcc8Stdenv else stdenv; - aws-sdk-cpp = aws-sdk-cpp.override { - stdenv = if stdenv.cc.isGNU then gcc8Stdenv else stdenv; - }; - boost = boost.override { - buildPackages = buildPackages // { - stdenv = if stdenv.cc.isGNU then gcc8Stdenv else stdenv; - }; - stdenv = if stdenv.cc.isGNU then gcc8Stdenv else stdenv; - }; }) nix nix1