{epgstation,mirakurun}: fix the update script

- The update scripts based on generic-updater now returns an attribute
set instead of just the command to update the package
This commit is contained in:
José Romildo 2022-09-27 18:23:06 -03:00
parent 1072e203b3
commit 5c9e6f0134
2 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@ let
attrPath = lib.toLower pname;
rev-prefix = "v";
};
updateScript = builtins.elemAt updater 0;
updateArgs = map (lib.escapeShellArg) (builtins.tail updater);
updateScript = builtins.elemAt updater.command 0;
updateArgs = map (lib.escapeShellArg) (builtins.tail updater.command);
in writers.writeBash "update-epgstation" ''
set -euxo pipefail

View File

@ -17,8 +17,8 @@ let
# exclude prerelease versions
ignoredVersions = "-";
};
updateScript = builtins.elemAt updater 0;
updateArgs = map (lib.escapeShellArg) (builtins.tail updater);
updateScript = builtins.elemAt updater.command 0;
updateArgs = map (lib.escapeShellArg) (builtins.tail updater.command);
in writers.writeBash "update-mirakurun" ''
set -euxo pipefail