factorio: add name as arg to authenticatedFetch

This commit is contained in:
Eric Litak 2016-09-22 19:49:36 -07:00
parent 75441dd64a
commit 3a083218b9

View File

@ -8,6 +8,8 @@
# URL to fetch. # URL to fetch.
url ? "" url ? ""
, name ? "factorio.tar.gz"
# Login URL. # Login URL.
, loginUrl ? "https://www.factorio.com/login" , loginUrl ? "https://www.factorio.com/login"
@ -16,11 +18,9 @@
}: }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "factorio.tar.gz";
buildInputs = [ curl xidel ]; buildInputs = [ curl xidel ];
inherit url loginUrl username password cacert; inherit name url loginUrl username password cacert;
builder = ./fetch.sh; builder = ./fetch.sh;