mkDerivation: Add comment about version override check
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user