lib.warnOldVersion: init

This commit is contained in:
tv 2019-02-16 15:39:17 +01:00
parent bc534f38aa
commit 174b3ee6be

View file

@ -145,6 +145,11 @@ let
in
filter (x: x != []) ([acc.chunk] ++ acc.chunks);
warnOldVersion = oldName: newName:
if compareVersions oldName newName != -1 then
trace "Upstream `${oldName}' gets overridden by `${newName}'." newName
else
newName;
};
in