Skip to content

Commit 187a67c

Browse files
authored
factorio: fix updateScript definition (#357689)
2 parents 5ace30a + afa66f4 commit 187a67c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

pkgs/by-name/fa/factorio/package.nix

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -201,15 +201,7 @@ let
201201
$out/bin/factorio
202202
'';
203203

204-
passthru.updateScript =
205-
if (username != "" && token != "") then
206-
[
207-
./update.py
208-
"--username=${username}"
209-
"--token=${token}"
210-
]
211-
else
212-
null;
204+
passthru.updateScript = ./update.py;
213205

214206
meta = {
215207
description = "Game in which you build and maintain factories";

0 commit comments

Comments
 (0)