about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-06-06 22:08:41 +0200
committerProfpatsch <mail@profpatsch.de>2020-06-06 22:08:41 +0200
commite169de2444e0141cb95a8a95e340546fda667fc8 (patch)
tree701332bd778002bf205ad20645d6e313a57371f4 /pkgs/games
parent5a00ff789c15ed27009d3a84341e17c293623112 (diff)
pkgs/games/fetch-gog: fix fetch redirection in curl
Upstream has 30x redirects for some URLs.
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/gog/fetch-gog/default.nix1
1 files changed, 1 insertions, 0 deletions
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