fix "update.pkgs" script
This commit is contained in:
parent
03615ce244
commit
4f933cc0fa
|
@ -151,7 +151,7 @@ let
|
||||||
// (lib.mapAttrs (pname: _pkg: final'.sane."${pname}") sane-patched)
|
// (lib.mapAttrs (pname: _pkg: final'.sane."${pname}") sane-patched)
|
||||||
# "additional" packages only get added if their version is newer than upstream
|
# "additional" packages only get added if their version is newer than upstream
|
||||||
// (lib.mapAttrs
|
// (lib.mapAttrs
|
||||||
(pname: _pkg: if unpatched ? "${pname}" && lib.versionAtLeast unpatched."${pname}".version final'.sane."${pname}".version then
|
(pname: _pkg: if unpatched ? "${pname}" && unpatched."${pname}" ? version && lib.versionAtLeast unpatched."${pname}".version final'.sane."${pname}".version then
|
||||||
unpatched."${pname}"
|
unpatched."${pname}"
|
||||||
else
|
else
|
||||||
final'.sane."${pname}"
|
final'.sane."${pname}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user