cc-wrapper: Remove unused params
Ensured hashes unchanged and eval succeeds in tarball job
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user