runCommand: Use stdenvNoCC

This ensures that most "trivial" derivations used to build NixOS
configurations no longer depend on GCC. For commands that do invoke
gcc, there is runCommandCC.
This commit is contained in:
Eelco Dolstra
2016-09-29 13:06:43 +02:00
parent 0cb16a6955
commit 97bfc2fac9
4 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ let
trivialBuilders = self: super:
(import ../build-support/trivial-builders.nix {
inherit lib; inherit (self) stdenv; inherit (self.xorg) lndir;
inherit lib; inherit (self) stdenv stdenvNoCC; inherit (self.xorg) lndir;
});
stdenvDefault = self: super: (import ./stdenv.nix topLevelArguments) {} pkgs;