stdenv: keep replaceStdenv fallback for non-module contexts

This commit is contained in:
byteforge38
2026-01-15 19:08:33 -08:00
parent abfadb9b47
commit 2c84f41a8e
+1 -1
View File
@@ -43,7 +43,7 @@ in
# Select the appropriate stages for the platform `system'.
if crossSystem != localSystem || crossOverlays != [ ] then
stagesCross
else if config.replaceStdenv != null then
else if (config.replaceStdenv or null) != null then
stagesCustom
else if localSystem.isLinux then
stagesLinux