diff options
Diffstat (limited to 'ymir/factorio.nix')
-rw-r--r-- | ymir/factorio.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ymir/factorio.nix b/ymir/factorio.nix index 0379c452..b6a3e149 100644 --- a/ymir/factorio.nix +++ b/ymir/factorio.nix | |||
@@ -6,7 +6,7 @@ let | |||
6 | allOptionalMods = false; | 6 | allOptionalMods = false; |
7 | }; | 7 | }; |
8 | modPortalDrv = { id, name, version, sha256, deps ? [], optionalDeps ? [], recommendedDeps ? [] }: modDrv { | 8 | modPortalDrv = { id, name, version, sha256, deps ? [], optionalDeps ? [], recommendedDeps ? [] }: modDrv { |
9 | src = pkgs.fetchurl { | 9 | src = factorio-fetch { |
10 | url = ''https://mods.factorio.com/api/downloads/data/mods/${id}_${version}.zip''; | 10 | url = ''https://mods.factorio.com/api/downloads/data/mods/${id}_${version}.zip''; |
11 | inherit sha256; | 11 | inherit sha256; |
12 | }; | 12 | }; |
@@ -86,5 +86,6 @@ in { | |||
86 | factorio-mkModDirDrv = pkgs.factorio-utils.mkModDirDrv; | 86 | factorio-mkModDirDrv = pkgs.factorio-utils.mkModDirDrv; |
87 | factorio = pkgs.callPackage ../customized/factorio.nix { releaseType = "alpha"; }; | 87 | factorio = pkgs.callPackage ../customized/factorio.nix { releaseType = "alpha"; }; |
88 | factorio-headless = pkgs.callPackage ../customized/factorio.nix { releaseType = "headless"; }; | 88 | factorio-headless = pkgs.callPackage ../customized/factorio.nix { releaseType = "headless"; }; |
89 | factorio-fetch = pkgs.callPackage customized/factorio-fetch.nix {}; | ||
89 | }; | 90 | }; |
90 | } | 91 | } |