about summary refs log tree commit diff
path: root/users/glittershark/system/system
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-11-21T22·22+0100
committertazjin <mail@tazj.in>2020-11-21T23·18+0000
commite9088826109dfcc550f599ccdc7926a0eed1cd50 (patch)
tree712b9cc6076c830fcb4b13c741bbc5d2be26ed17 /users/glittershark/system/system
parentcd652b3b22d69e36a5f1eb887f532010384d864e (diff)
fix(glittershark/kernel): Ensure kernel changes cachebust linux-ck r/1893
Previously changed kernel versions would not cachebust the patch
download, because it would still be using the same SHA hash.

Forcing a different store path (by adding the version to the name)
also forces a redownload of the patch (and in turn cause the hash to
mismatch), avoiding this as a silent cause of failures in channel
updates.

Change-Id: I81a136ee2401126795cf042b0aadf2a1e7a707b4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2114
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/system/system')
-rw-r--r--users/glittershark/system/system/modules/kernel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/glittershark/system/system/modules/kernel.nix b/users/glittershark/system/system/modules/kernel.nix
index fb5319ee5c18..bffd98c96c3c 100644
--- a/users/glittershark/system/system/modules/kernel.nix
+++ b/users/glittershark/system/system/modules/kernel.nix
@@ -8,6 +8,7 @@ let
   patched-linux-ck = stdenvNoCC.mkDerivation {
     name = "linux-ck";
     src = builtins.fetchurl {
+      name = "linux-ck-patch-${mm}-ck1.xz";
       # example: http://ck.kolivas.org/patches/5.0/5.4/5.4-ck1/patch-5.4-ck1.xz
       url = "http://ck.kolivas.org/patches/${mj}.0/${mm}/${mm}-ck1/patch-${mm}-ck1.xz";
       sha256 = "01jyg9x2ligr0gjic8lg4f7hw3isz94kqwdbzdk9n8nghklh38p4";