From 91fa7657d180942da624520231754706940f23f4 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 27 Feb 2022 15:10:58 +0100 Subject: [PATCH] stdenv: revert gcc hack See https://github.com/NixOS/nixpkgs/pull/133431#discussion_r805339569 --- pkgs/stdenv/linux/default.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index e20ea9e16860..e5771860bce3 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -254,19 +254,6 @@ in ''; }); - gcc-unwrapped = self.stdenvNoCC.mkDerivation { - inherit (prevStage.gcc-unwrapped) name; - dontUnpack = true; - dontBuild = true; - installPhase = '' - mkdir -p $out - cp -ar ${prevStage.gcc-unwrapped}/* $out/ - chmod -R a+w $out/ - cp -a ${getLibc self}/lib/* $out/lib/ - chmod -R a-w $out/ - ''; - }; - # This also contains the full, dynamically linked, final Glibc. binutils = prevStage.binutils.override { # Rewrap the binutils with the new glibc, so both the next