pkgs/top-level/all-packages.nix: add gnuStdenv (#378409)

This commit is contained in:
Tristan Ross
2025-03-16 23:30:15 -04:00
committed by GitHub
parent 4487ba0171
commit e7fa733dbd
+9
View File
@@ -5744,6 +5744,15 @@ with pkgs;
};
}) else ccWrapper;
gnuStdenv =
if stdenv.cc.isGNU
then stdenv
else gccStdenv.override {
cc = gccStdenv.cc.override {
bintools = buildPackages.binutils;
};
};
gccStdenv =
if stdenv.cc.isGNU
then stdenv