From 32a9f7d3eaacbb38ae5924e82b674f459f21b65d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 22 Mar 2024 20:07:02 +0000 Subject: [PATCH] pin-to-gcc12-if-gcc13: drop as it's not used anymore --- pkgs/top-level/all-packages.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e16291ca8a49..745191a74d82 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15675,14 +15675,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 // {