factorio: fix eval
This commit is contained in:
parent
3830fa6e28
commit
893c521565
1 changed files with 4 additions and 2 deletions
|
@ -19,13 +19,13 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, wayland
|
, wayland
|
||||||
|
|
||||||
, mods ? [ ]
|
|
||||||
, mods-dat ? null
|
, mods-dat ? null
|
||||||
, versionsJson ? ./versions.json
|
, versionsJson ? ./versions.json
|
||||||
, username ? ""
|
, username ? ""
|
||||||
, token ? "" # get/reset token at https://factorio.com/profile
|
, token ? "" # get/reset token at https://factorio.com/profile
|
||||||
, experimental ? false # true means to always use the latest branch
|
, experimental ? false # true means to always use the latest branch
|
||||||
}:
|
, ...
|
||||||
|
} @ args:
|
||||||
|
|
||||||
assert releaseType == "alpha"
|
assert releaseType == "alpha"
|
||||||
|| releaseType == "headless"
|
|| releaseType == "headless"
|
||||||
|
@ -35,6 +35,8 @@ let
|
||||||
|
|
||||||
inherit (lib) importJSON;
|
inherit (lib) importJSON;
|
||||||
|
|
||||||
|
mods = args.mods or [ ];
|
||||||
|
|
||||||
helpMsg = ''
|
helpMsg = ''
|
||||||
|
|
||||||
===FETCH FAILED===
|
===FETCH FAILED===
|
||||||
|
|
Loading…
Reference in a new issue