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