stdenv: add comment explaining replaceStdenv fallback

This commit is contained in:
byteforge38
2026-01-16 06:38:19 -08:00
parent 2c84f41a8e
commit d4e55d835e

View File

@@ -43,6 +43,7 @@ in
# Select the appropriate stages for the platform `system'.
if crossSystem != localSystem || crossOverlays != [ ] then
stagesCross
# The `or null` fallback is needed for contexts that don't use the module system (e.g. tarball builds).
else if (config.replaceStdenv or null) != null then
stagesCustom
else if localSystem.isLinux then