summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-25 13:57:48 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-26 10:57:07 +0700
commit1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270 (patch)
tree1bdff74d3f609e78f8931a3f32398062d61db84d /pkgs/os-specific/linux
parentaa8868c7cca8d30706a68a876d048968c83e1cf1 (diff)
downloadnixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.gz
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.bz2
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.lz
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.xz
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.tar.zst
nixpkgs-1c2a2b0a0848d58407fb4ff73a8dc1e854f5a270.zip
treewide: fold -> foldr
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r--pkgs/os-specific/linux/kernel/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix
index ac9d6fbb2b5..cc7d1a52367 100644
--- a/pkgs/os-specific/linux/kernel/generic.nix
+++ b/pkgs/os-specific/linux/kernel/generic.nix
@@ -68,7 +68,7 @@ assert stdenv.isLinux;
 
 let
   # Combine the `features' attribute sets of all the kernel patches.
-  kernelFeatures = lib.fold (x: y: (x.features or {}) // y) ({
+  kernelFeatures = lib.foldr (x: y: (x.features or {}) // y) ({
     iwlwifi = true;
     efiBootStub = true;
     needsCifsUtils = true;