summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2021-08-02 20:50:35 +0200
committerFlorian Klink <flokli@flokli.de>2021-08-02 21:21:52 +0200
commitced7721191dbc31b29f467a432a590e9df8385be (patch)
tree4318281b560c46ca00576813112b912757b439af
parente60aa920682611357194c3ee2a1952fe118e9979 (diff)
downloadnixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.tar
nixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.tar.gz
nixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.tar.bz2
nixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.tar.lz
nixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.tar.xz
nixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.tar.zst
nixpkgs-ced7721191dbc31b29f467a432a590e9df8385be.zip
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
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 1 insertions, 1 deletions
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