diff options
-rw-r--r-- | pkgs/games/factorio/default.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix index f9ea485dca7..28f562c1b79 100644 --- a/pkgs/games/factorio/default.nix +++ b/pkgs/games/factorio/default.nix @@ -11,7 +11,7 @@ assert releaseType == "alpha" || releaseType == "headless"; with stdenv.lib; let - version = "0.12.28"; + version = "0.12.29"; isHeadless = releaseType == "headless"; arch = if stdenv.system == "x86_64-linux" then { @@ -28,9 +28,11 @@ let url = "https://www.factorio.com/get-download/${version}/${releaseType}/${arch.inUrl}"; name = "factorio_${releaseType}_${arch.inTar}-${version}.tar.gz"; # TODO take this from 302 redirection somehow? fetchurl doesn't help. x64 = { + headless = fetchurl { inherit name url; sha256 = "1hr5dhpfagknjjd47qw3fa3ap8ikjc9hvxavrg4mpslbr0iqww8v"; }; alpha = authenticatedFetch { inherit url; sha256 = "0vngfrjjib99k6czhg32rikfi36i3p3adx4mxc1z8bi5n70dbwqb"; }; }; i386 = { + headless = abort "Factorio 32-bit headless binaries are not available for download."; alpha = authenticatedFetch { inherit url; sha256 = "10135rd9103x79i89p6fh5ssmw612012yyx3yyhb3nzl554zqzbm"; }; }; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3da47ff4d92..6e03d55762a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14731,6 +14731,8 @@ in factorio = callPackage ../games/factorio { releaseType = "alpha"; }; + factorio-headless = callPackage ../games/factorio { releaseType = "headless"; }; + fairymax = callPackage ../games/fairymax {}; fish-fillets-ng = callPackage ../games/fish-fillets-ng {}; |