diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 92b34d44c36c..5543f7f5560b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15673,14 +15673,6 @@ with pkgs; gccFun = callPackage ../development/compilers/gcc; gcc-unwrapped = gcc.cc; - pin-to-gcc12-if-gcc13 = pkg: - if !(lib.isDerivation pkg) || !(pkg?override) then pkg else - pkg.override (previousArgs: - lib.optionalAttrs (previousArgs.stdenv.cc.cc.isGNU or false && - lib.versionAtLeast previousArgs.stdenv.cc.cc.version "13.0") { - stdenv = gcc12Stdenv; - }); - wrapNonDeterministicGcc = stdenv: ccWrapper: if ccWrapper.isGNU then ccWrapper.overrideAttrs(old: { env = old.env // {