git.iko.soy/typeable/nixpkgs
on master help sign in
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..

commit87462d6be4fa796e31837fd20f0d388028ea157d authorAndreas Rammhold <andreas@rammhold.de> dateThu 13 Sep 2018, 11:08 (8 years ago) parent595ae18
1 file changed+4−4
pkgs/build-support/vm/default.nix+4−4
pkgs/build-support/vm/default.nix+4−4
@@ -990,8 +990,8 @@ rec {
990990 name = "debian-9.4-stretch-i386";
991991 fullName = "Debian 9.4 Stretch (i386)";
992992 packagesList = fetchurl {
993− url = mirror://debian/dists/stretch/main/binary-i386/Packages.xz;
994− sha256 = "05z5ccg4ysbrgallhai53sh83i0364w7a3fdq84dpv1li059jf10";
993+ url = https://web.archive.org/web/20180912163509/http://ftp.debian.org/debian/dists/stretch/main/binary-i386/Packages.xz;
994+ sha256 = "0flvn8zn7vk04p10ndf3aq0mdr8k2ic01g51aq4lsllkv8lmwzyh";
995995 };
996996 urlPrefix = mirror://debian;
997997 packages = commonDebianPackages;
@@ -1001,8 +1001,8 @@ rec {
10011001 name = "debian-9.4-stretch-amd64";
10021002 fullName = "Debian 9.4 Stretch (amd64)";
10031003 packagesList = fetchurl {
1004− url = mirror://debian/dists/stretch/main/binary-amd64/Packages.xz;
1005− sha256 = "19j0c54b1b9lbk9fv2c2aswdh0s2c3klf97zrlmsz4hs8wm9jylq";
1004+ url = https://web.archive.org/web/20180912163152/http://ftp.debian.org/debian/dists/stretch/main/binary-amd64/Packages.xz;
1005+ sha256 = "11vnn9bba2jabixvabfbw9zparl326c88xn99di7pbr5xsnl15jm";
10061006 };
10071007 urlPrefix = mirror://debian;
10081008 packages = commonDebianPackages;