summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/patches.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-05-15 20:29:07 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-05-15 20:32:57 +0200
commit81bc5f3db8f9ba812836036d5d3e54e933ca2cd6 (patch)
tree1cc7d4020a09caea806990e908076eb13239cce3 /pkgs/os-specific/linux/kernel/patches.nix
parent4633d9cf38f770a58e67c764c1ed656a2aa2b006 (diff)
downloadnixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.tar
nixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.tar.gz
nixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.tar.bz2
nixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.tar.lz
nixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.tar.xz
nixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.tar.zst
nixpkgs-81bc5f3db8f9ba812836036d5d3e54e933ca2cd6.zip
pkgs/linux: Vendor maple tree patch
Fetching from a maintainer tree can be unreliable as commits or
even repos may be removed.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/patches.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/patches.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix
index 3a76ed2d088..2330db4e68c 100644
--- a/pkgs/os-specific/linux/kernel/patches.nix
+++ b/pkgs/os-specific/linux/kernel/patches.nix
@@ -58,13 +58,10 @@
     patch = ./export-rt-sched-migrate.patch;
   };
 
-  make-maple-state-reusable-after-mas_empty_area = rec {
+  # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/patch/?id=39bf07d812b888b23983a9443ad967ca9b61551d
+  make-maple-state-reusable-after-mas_empty_area = {
     name = "make-maple-state-reusable-after-mas_empty_area";
-    patch = fetchpatch {
-      name = name + ".patch";
-      url = "https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/patch/?id=39bf07d812b888b23983a9443ad967ca9b61551d";
-      hash = "sha256-JHEFq+Gw8Dtl0M8pXcKXpwkaHhbbl5NwTSzvV5qP4hk=";
-    };
+    patch = ./make-maple-state-reusable-after-mas_empty_area.patch;
   };
 
   fix-em-ice-bonding = {