summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorfigsoda2023-05-14 23:20:31 -0400
committerGitHub2023-05-14 23:20:31 -0400
commitfd106e6a9f6214189bdf374b54347a6806d1e954 (patch)
treecc2783c38bdbbdfca0268ba5d9ebee9e8ac3a4aa /pkgs/games
parentd39fb92eb224b99d0283f3b04adbe59468d81e14 (diff)
parent893c521565957bdf54962d542b77cadace030b07 (diff)
Merge pull request #231832 from dit7ya/mods
mods: init at 0.1.1
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/factorio/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix
index 97df1c6c249b..7851cd6e8d1e 100644
--- a/pkgs/games/factorio/default.nix
+++ b/pkgs/games/factorio/default.nix
@@ -19,13 +19,13 @@
 , stdenv
 , wayland
 
-, mods ? [ ]
 , mods-dat ? null
 , versionsJson ? ./versions.json
 , username ? ""
 , token ? "" # get/reset token at https://factorio.com/profile
 , experimental ? false # true means to always use the latest branch
-}:
+, ...
+} @ args:
 
 assert releaseType == "alpha"
   || releaseType == "headless"
@@ -35,6 +35,8 @@ let
 
   inherit (lib) importJSON;
 
+  mods = args.mods or [ ];
+
   helpMsg = ''
 
     ===FETCH FAILED===