stdenv: distinguish stdenvNoCC name from stdenv (#519967)

This commit is contained in:
Philip Taron 2026-06-06 16:58:20 +00:00 committed by GitHub
commit b57baa7f70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,6 +55,7 @@ in
# `stdenv` without a C compiler. Passing in this helps avoid infinite
# recursions, and may eventually replace passing in the full stdenv.
stdenvNoCC ? stdenv.override {
name = "${stdenv.name}-no-cc";
cc = null;
hasCC = false;
# Darwin doesnt need an SDK in `stdenvNoCC`. Dropping it shrinks the closure