@@ -34,10 +34,12 @@ in stdenv.mkDerivation rec {
3434 # Upstream's maintenance branches are still too intrusive:
3535 # https://github.com/systemd/systemd-stable/tree/v239-stable
3636 patches-deb = fetchurl {
37− # When the URL disappears, it typically means that Debian has new patches
38− # (probably security) and updating to new tarball will apply them as well.
37+ # This URL should point to a stable location that does not easily
38+ # disappear. In the past we were using `mirror://debian` but that
39+ # eventually causes the files to disappear. While that was a good sign
40+ # for us to update our patch collection it does break reproducibility.
3941 name = "systemd-debian-patches.tar.xz";
40− url = mirror://debian/pool/main/s/systemd/systemd_239-12~bpo9+1.debian.tar.xz;
42+ url = http://snapshot.debian.org/archive/debian/20190301T035241Z/pool/main/s/systemd/systemd_239-12%7Ebpo9%2B1.debian.tar.xz;
4143 sha256 = "0v9f62gyfiw5icdrdlcvjcipsqrsm49w6n8bqp9nb8s2ih6rsfhg";
4244 };
4345 # Note that we skip debian-specific patches, i.e. ./debian/patches/debian/*