From 7ce216139cd6fa777d3e8fc137ee3b2f9e561e21 Mon Sep 17 00:00:00 2001 From: Eric Litak Date: Mon, 11 Apr 2016 21:20:45 -0700 Subject: factorio: bump to 0.12.29 and headless version --- pkgs/games/factorio/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/games/factorio') 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"; }; }; }; -- cgit 1.4.1