summary refs log tree commit diff
path: root/pkgs/games/steam/update-runtime.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/steam/update-runtime.py')
-rwxr-xr-xpkgs/games/steam/update-runtime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/steam/update-runtime.py b/pkgs/games/steam/update-runtime.py
index 32442970849..0292e725cea 100755
--- a/pkgs/games/steam/update-runtime.py
+++ b/pkgs/games/steam/update-runtime.py
@@ -40,9 +40,9 @@ def download_file(file_base, file_name, file_url):
 	out.write("    rec {\n")
 	out.write("      name = \"%s\";\n" % file_name)
 	out.write("      md5 = \"%s\";\n" % md5.strip())
+	out.write("      url = \"%s\";\n" % file_url.replace(REPO, "mirror://steamrt", 1))
 	out.write("      source = fetchurl {\n")
-	out.write("        url = \"%s\";\n" % file_url)
-	out.write("        inherit md5;\n")
+	out.write("        inherit url md5;\n")
 	out.write("        name = \"%s\";\n" % file_shortname)
 	out.write("      };\n")
 	out.write("    }\n")