Commit d4e55d83 authored by byteforge38's avatar byteforge38
Browse files

stdenv: add comment explaining replaceStdenv fallback

parent 2c84f41a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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