git.iko.soy/typeable/nixpkgs
on master help sign in
zfs: fix build with linux-rt
commit1026c02f6d71e5ba8cc969d0b4ab743881f8a094 authorOrivej Desh <orivej@gmx.fr> dateTue 8 Dec 2020, 16:38 (6 years ago) parent59d8ee7
1 file changed+9
pkgs/os-specific/linux/zfs/default.nix+9
pkgs/os-specific/linux/zfs/default.nix+9
@@ -176,6 +176,11 @@ let
176176 maintainers = with maintainers; [ hmenke jcumming jonringer wizeman fpletz globin mic92 ];
177177 };
178178 };
179+
180+ linux-rt-patch = fetchpatch {
181+ url = "https://github.com/openzfs/zfs/commit/ab4fb9b74e9d089fc9a261c4f41e19697ad6a4ca.patch";
182+ sha256 = "1nrxmb4rhrkgncav6dzwm66l0700fi72qkkcs0w6pkm850srws36";
183+ };
179184in {
180185 # also check if kernel version constraints in
181186 # ./nixos/modules/tasks/filesystems/zfs.nix needs
@@ -188,6 +193,8 @@ in {
188193 version = "2.0.0";
189194
190195 sha256 = "1kriz6pg8wj98izvjc60wp23lgcp4k3mzhpkgj74np73rzgy6v8r";
196+
197+ extraPatches = [ linux-rt-patch ];
191198 };
192199
193200 zfsUnstable = common {
@@ -198,5 +205,7 @@ in {
198205 version = "2.0.0";
199206
200207 sha256 = "1kriz6pg8wj98izvjc60wp23lgcp4k3mzhpkgj74np73rzgy6v8r";
208+
209+ extraPatches = [ linux-rt-patch ];
201210 };
202211}