From e169de2444e0141cb95a8a95e340546fda667fc8 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 6 Jun 2020 22:08:41 +0200 Subject: pkgs/games/fetch-gog: fix fetch redirection in curl Upstream has 30x redirects for some URLs. --- pkgs/games/gog/fetch-gog/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/games/gog') diff --git a/pkgs/games/gog/fetch-gog/default.nix b/pkgs/games/gog/fetch-gog/default.nix index c1d350ce..99d40587 100644 --- a/pkgs/games/gog/fetch-gog/default.nix +++ b/pkgs/games/gog/fetch-gog/default.nix @@ -309,6 +309,7 @@ in stdenv.mkDerivation { ${lib.escapeShellArg downloadName})" header "downloading $name from $url" curl \ + --location \ --cacert ${lib.escapeShellArg "${cacert}/etc/ssl/certs/ca-bundle.crt"} \ --fail --output "$out" "$url" stopNest -- cgit 1.4.1