stdenv: simplify replaceStdenv null check

This commit is contained in:
byteforge38
2026-01-15 19:00:55 -08:00
parent d6f8f7b7b1
commit abfadb9b47
+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 or null) != null then
else if config.replaceStdenv != null then
stagesCustom
else if localSystem.isLinux then
stagesLinux