about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2019-03-23 09:47:13 +0100
committerAndreas Rammhold <andreas@rammhold.de>2019-03-23 09:52:35 +0100
commitbb821c65ff1403d07aaf86a46098ca618c5d1aa5 (patch)
tree4cae2ff35684deef8dee49ac4a61ca415815077f /pkgs/os-specific/linux/systemd
parent19030473ba07f23483fc84db11b92131d0c03f39 (diff)
downloadnixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.tar
nixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.tar.gz
nixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.tar.bz2
nixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.tar.lz
nixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.tar.xz
nixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.tar.zst
nixlib-bb821c65ff1403d07aaf86a46098ca618c5d1aa5.zip
systemd: update debian patches url to snapshots.debian.org
The current approach will fail when enough time has passed. We ideally
want to be reproducible even in a few years of time. So we should pick
the sources of patches wisely as otherwise we can not do that.
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index 2f873f34b885..d54972c055be 100644
--- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.nix
@@ -34,10 +34,12 @@ in stdenv.mkDerivation rec {
       # Upstream's maintenance branches are still too intrusive:
       # https://github.com/systemd/systemd-stable/tree/v239-stable
       patches-deb = fetchurl {
-        # When the URL disappears, it typically means that Debian has new patches
-        # (probably security) and updating to new tarball will apply them as well.
+        # This URL should point to a stable location that does not easily
+        # disappear.  In the past we were using `mirror://debian` but that
+        # eventually causes the files to disappear.  While that was a good sign
+        # for us to update our patch collection it does break reproducibility.
         name = "systemd-debian-patches.tar.xz";
-        url = mirror://debian/pool/main/s/systemd/systemd_239-12~bpo9+1.debian.tar.xz;
+        url = http://snapshot.debian.org/archive/debian/20190301T035241Z/pool/main/s/systemd/systemd_239-12%7Ebpo9%2B1.debian.tar.xz;
         sha256 = "0v9f62gyfiw5icdrdlcvjcipsqrsm49w6n8bqp9nb8s2ih6rsfhg";
       };
       # Note that we skip debian-specific patches, i.e. ./debian/patches/debian/*