cc-wrapper: Remove unused params

Ensured hashes unchanged and eval succeeds in tarball job
This commit is contained in:
John Ericson
2017-08-21 18:40:41 -04:00
parent 0ab717d547
commit c035711072
6 changed files with 7 additions and 31 deletions
+2 -6
View File
@@ -13,12 +13,10 @@ bootStages ++ [
inherit config overlays;
stdenv = import ../generic rec {
buildPlatform = localSystem;
hostPlatform = localSystem;
targetPlatform = localSystem;
inherit config;
inherit (prevStage.stdenv) buildPlatform hostPlatform targetPlatform;
preHook = ''
export NIX_ENFORCE_PURITY="''${NIX_ENFORCE_PURITY-1}"
export NIX_ENFORCE_NO_NATIVE="''${NIX_ENFORCE_NO_NATIVE-1}"
@@ -27,8 +25,6 @@ bootStages ++ [
initialPath = (import ../common-path.nix) { pkgs = prevStage; };
inherit (prevStage.stdenv) hostPlatform targetPlatform;
cc = import ../../build-support/cc-wrapper {
nativeTools = false;
nativePrefix = stdenv.lib.optionalString hostPlatform.isSunOS "/usr";