diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index ad5a91f9340..4983c819216 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -352,7 +352,7 @@ in gmp = super.gmp.override { stdenv = self.stdenv; }; # coreutils gets rebuilt both here and also in the final stage; we rename this one to avoid confusion - coreutils = super.coreutils.overrideAttrs (a: a // { name = "coreutils-stage4"; }); + coreutils = super.coreutils.overrideAttrs (_: { pname = "coreutils-stage4"; }); gcc = lib.makeOverridable (import ../../build-support/cc-wrapper) { nativeTools = false;