mkDerivation: Add comment about version override check

This commit is contained in:
Robert Hensing
2025-05-28 19:23:11 +02:00
parent c50933c33f
commit 1af65a4adc
+3
View File
@@ -96,6 +96,9 @@ let
warnForBadVersionOverride = (
thisOverlay ? version
&& prev ? version
# We could check that the version is actually distinct, but that
# would probably just delay the inevitable, or preserve tech debt.
# && prev.version != thisOverlay.version
&& !(thisOverlay ? src)
&& !(thisOverlay.__intentionallyOverridingVersion or false)
);