about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorFabián Heredia Montiel <fabianhjr@protonmail.com>2022-03-23 16:45:14 -0600
committerFabián Heredia Montiel <fabianhjr@protonmail.com>2022-03-23 21:23:14 -0600
commit1b0e116b1474b594eca801bedb231b201996359b (patch)
tree0006094493b328941518cd30b5810025b990ae3d /pkgs/os-specific
parent11e697c3d7f8da7f11165ff85a8db633c8724c1e (diff)
downloadnixlib-1b0e116b1474b594eca801bedb231b201996359b.tar
nixlib-1b0e116b1474b594eca801bedb231b201996359b.tar.gz
nixlib-1b0e116b1474b594eca801bedb231b201996359b.tar.bz2
nixlib-1b0e116b1474b594eca801bedb231b201996359b.tar.lz
nixlib-1b0e116b1474b594eca801bedb231b201996359b.tar.xz
nixlib-1b0e116b1474b594eca801bedb231b201996359b.tar.zst
nixlib-1b0e116b1474b594eca801bedb231b201996359b.zip
linux: condition CLEANCACHE to before 5.17 when it was removed
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 3856a223e2c0..92fc77128d25 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -787,7 +787,9 @@ let
       BT_RFCOMM_TTY   = option yes; # RFCOMM TTY support
       BT_QCA = module; # enables QCA6390 bluetooth
 
-      CLEANCACHE = option yes;
+      # Removed on 5.17 as it was unused
+      # upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0a4ee518185e902758191d968600399f3bc2be31
+      CLEANCACHE = whenOlder "5.17" (option yes);
       CRASH_DUMP = option no;
 
       DVB_DYNAMIC_MINORS = option yes; # we use udev