factorio: add name as arg to authenticatedFetch
This commit is contained in:
parent
75441dd64a
commit
3a083218b9
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user