Skip to content

Commit

Permalink
[Backport release-24.11] factorio: fix updateScript definition (#35…
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb authored Nov 25, 2024
2 parents 141520d + d4bf0c4 commit f33cc15
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 f33cc15

Please sign in to comment.