From ced7721191dbc31b29f467a432a590e9df8385be Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 2 Aug 2021 20:50:35 +0200 Subject: linux: only configure IDE to "no" pre-5.14 When trying to build a 5.14 (rc-*), this fails to build otherwise: > error: unused option: IDE --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 3fec8d38ac9..2a23c8d3ea5 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -758,7 +758,7 @@ let POSIX_MQUEUE = yes; FRONTSWAP = yes; FUSION = yes; # Fusion MPT device support - IDE = no; # deprecated IDE support + IDE = whenOlder "5.14" no; # deprecated IDE support, removed in 5.14 IDLE_PAGE_TRACKING = yes; IRDA_ULTRA = whenOlder "4.17" yes; # Ultra (connectionless) protocol -- cgit 1.4.1