Skip to content

Commit

Permalink
factorio: fix updateScript definition
Browse files Browse the repository at this point in the history
The update script does not take `username` and `token` parameters anymore,
since 44754ac (thanks Luke!)

As a side-effect, R. RyanTM should now keep `factorio` up-to-date
like the good bot it is.  <3

(cherry picked from commit afa66f4)
  • Loading branch information
nbraud authored and github-actions[bot] committed Nov 25, 2024
1 parent 141520d commit d4bf0c4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions pkgs/by-name/fa/factorio/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,7 @@ let
$out/bin/factorio
'';

passthru.updateScript =
if (username != "" && token != "") then
[
./update.py
"--username=${username}"
"--token=${token}"
]
else
null;
passthru.updateScript = ./update.py;

meta = {
description = "Game in which you build and maintain factories";
Expand Down

0 comments on commit d4bf0c4

Please sign in to comment.