l 5: compareVersions is builtin

This commit is contained in:
lassulus 2022-08-02 13:56:14 +02:00
parent 8d297d33a9
commit b3694198ea

View File

@ -8,7 +8,7 @@ self: super: let
(super.${(builtins.parseDrvName override.name).name} or {});
in if upstream ? "name" &&
override ? "name" &&
lib.compareVersions upstream.name override.name != -1
builtins.compareVersions upstream.name override.name != -1
then
builtins.trace
"Upstream `${upstream.name}' gets overridden by `${override.name}'."