summaryrefslogtreecommitdiff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-04-18 18:00:58 +0000
committerGitHub <noreply@github.com>2024-04-18 18:00:58 +0000
commitae22f8403a6aa4cc1bd30a0dbfb014187810af4e (patch)
treebf1f5a9063200e0a3b4e767e51f6ec9b6f34306d /pkgs/stdenv
parentMerge master into staging-next (diff)
parentMerge pull request #304976 from r-ryantm/auto-update/pixelorama (diff)
downloadnixpkgs-ae22f8403a6aa4cc1bd30a0dbfb014187810af4e.tar.gz
Merge master into staging-next
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/linux/default.nix8
-rw-r--r--pkgs/stdenv/native/default.nix2
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index 9d13eb0b8e17..0e1852805cfd 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -328,12 +328,12 @@ in
assert isBuiltByBootstrapFilesCompiler prevStage.patchelf;
stageFun prevStage {
name = "bootstrap-stage-xgcc";
- overrides = final: prev: {
+ overrides = self: super: {
inherit (prevStage) ccWrapperStdenv coreutils gnugrep gettext bison texinfo zlib gnum4 perl patchelf;
${localSystem.libc} = getLibc prevStage;
- gmp = prev.gmp.override { cxx = false; };
+ gmp = super.gmp.override { cxx = false; };
gcc-unwrapped =
- (prev.gcc-unwrapped.override (commonGccOverrides // {
+ (super.gcc-unwrapped.override (commonGccOverrides // {
# The most logical name for this package would be something like
# "gcc-stage1". Unfortunately "stage" is already reserved for the
# layers of stdenv, so using "stage" in the name of this package
@@ -376,7 +376,7 @@ in
#
configureFlags = (a.configureFlags or []) ++ [
"--with-native-system-header-dir=/include"
- "--with-build-sysroot=${lib.getDev final.stdenv.cc.libc}"
+ "--with-build-sysroot=${lib.getDev self.stdenv.cc.libc}"
];
# This is a separate phase because gcc assembles its phase scripts
diff --git a/pkgs/stdenv/native/default.nix b/pkgs/stdenv/native/default.nix
index de447f4e7567..242bf9d1b3f9 100644
--- a/pkgs/stdenv/native/default.nix
+++ b/pkgs/stdenv/native/default.nix
@@ -152,7 +152,7 @@ in
inherit config overlays;
stdenv = makeStdenv {
inherit (prevStage) cc fetchurl;
- overrides = prev: final: { inherit (prevStage) fetchurl; };
+ overrides = self: super: { inherit (prevStage) fetchurl; };
} // {
inherit (prevStage) fetchurl;
};