diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-13 04:13:51 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-09-13 04:13:51 +0200 |
commit | e95dba2a4b35a8550a2d5320f00c90a11a126c0a (patch) | |
tree | 843027f7643b191076ac1394f288715c9e31bbfc /ymir | |
parent | b88de6a31fd97816342382080be6db3f503435f1 (diff) | |
download | nixos-e95dba2a4b35a8550a2d5320f00c90a11a126c0a.tar nixos-e95dba2a4b35a8550a2d5320f00c90a11a126c0a.tar.gz nixos-e95dba2a4b35a8550a2d5320f00c90a11a126c0a.tar.bz2 nixos-e95dba2a4b35a8550a2d5320f00c90a11a126c0a.tar.xz nixos-e95dba2a4b35a8550a2d5320f00c90a11a126c0a.zip |
customized factorio fetch
Diffstat (limited to 'ymir')
-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 | } |