mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
pkgs/stdenv/booter.nix: Add comment explaining hasCC trickery
This commit is contained in:
parent
d8dd301412
commit
6078f094c6
@ -126,7 +126,11 @@ stageFuns: let
|
||||
if buildPackages.stdenv.cc.isClang or false
|
||||
then buildPackages.clang
|
||||
else buildPackages.gcc
|
||||
else buildPackages.stdenv.cc;
|
||||
else
|
||||
# This will blow up if anything uses it, but that's OK. The `if
|
||||
# buildPackages.stdenv.cc.isClang then ... else ...` would blow up
|
||||
# everything, so we make sure to avoid that.
|
||||
buildPackages.stdenv.cc;
|
||||
};
|
||||
|
||||
in dfold folder postStage (_: {}) withAllowCustomOverrides
|
||||
|
Loading…
Reference in New Issue
Block a user