forked from mirrors/nixpkgs
factorio: add name as arg to authenticatedFetch
This commit is contained in:
parent
75441dd64a
commit
3a083218b9
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue