From e95dba2a4b35a8550a2d5320f00c90a11a126c0a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 13 Sep 2016 04:13:51 +0200 Subject: customized factorio fetch --- customized/factorio.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'customized/factorio.nix') diff --git a/customized/factorio.nix b/customized/factorio.nix index a718c9c7..b2832aad 100644 --- a/customized/factorio.nix +++ b/customized/factorio.nix @@ -1,9 +1,8 @@ { stdenv, callPackage, fetchurl, makeWrapper , alsaLib, libX11, libXcursor, libXinerama, libXrandr, libXi, mesa_noglu -, factorio-utils +, factorio-utils, factorio-fetch , releaseType , mods ? [] -, username ? "" , password ? "" }: assert releaseType == "alpha" || releaseType == "headless"; @@ -21,7 +20,7 @@ let inTar = "i386"; } else abort "Unsupported platform"; - authenticatedFetch = callPackage ./fetch.nix { inherit username password; }; + authenticatedFetch = factorio-fetch; fetch = rec { url = "https://www.factorio.com/get-download/${version}/${releaseType}/${arch.inUrl}"; -- cgit v1.2.3