From 3a083218b94ca8e0367b3d31eacd1bdd43b827d4 Mon Sep 17 00:00:00 2001 From: Eric Litak Date: Thu, 22 Sep 2016 19:49:36 -0700 Subject: [PATCH] factorio: add name as arg to authenticatedFetch --- pkgs/games/factorio/fetch.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/factorio/fetch.nix b/pkgs/games/factorio/fetch.nix index 04b31ac10d3..439f2478a66 100644 --- a/pkgs/games/factorio/fetch.nix +++ b/pkgs/games/factorio/fetch.nix @@ -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;