From 87462d6be4fa796e31837fd20f0d388028ea157d Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Thu, 13 Sep 2018 11:08:14 +0200 Subject: [PATCH] vmTools: update debian repositories to stable Release.xz urls Previously the Release.xz URL would show up with a new hash whenever debian releases an update. By using archive.org we should have a stable source for those. I wasn't able to find the equivalent in the debian world. Maybe they don't keep all the different Release files around.. --- pkgs/build-support/vm/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index 67c67c881776..03b3fb1f9f27 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -990,8 +990,8 @@ rec { name = "debian-9.4-stretch-i386"; fullName = "Debian 9.4 Stretch (i386)"; packagesList = fetchurl { - url = mirror://debian/dists/stretch/main/binary-i386/Packages.xz; - sha256 = "05z5ccg4ysbrgallhai53sh83i0364w7a3fdq84dpv1li059jf10"; + url = https://web.archive.org/web/20180912163509/http://ftp.debian.org/debian/dists/stretch/main/binary-i386/Packages.xz; + sha256 = "0flvn8zn7vk04p10ndf3aq0mdr8k2ic01g51aq4lsllkv8lmwzyh"; }; urlPrefix = mirror://debian; packages = commonDebianPackages; @@ -1001,8 +1001,8 @@ rec { name = "debian-9.4-stretch-amd64"; fullName = "Debian 9.4 Stretch (amd64)"; packagesList = fetchurl { - url = mirror://debian/dists/stretch/main/binary-amd64/Packages.xz; - sha256 = "19j0c54b1b9lbk9fv2c2aswdh0s2c3klf97zrlmsz4hs8wm9jylq"; + url = https://web.archive.org/web/20180912163152/http://ftp.debian.org/debian/dists/stretch/main/binary-amd64/Packages.xz; + sha256 = "11vnn9bba2jabixvabfbw9zparl326c88xn99di7pbr5xsnl15jm"; }; urlPrefix = mirror://debian; packages = commonDebianPackages;