mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
zfs: fix build with linux-rt
This commit is contained in:
parent
59d8ee790e
commit
1026c02f6d
@ -176,6 +176,11 @@ let
|
||||
maintainers = with maintainers; [ hmenke jcumming jonringer wizeman fpletz globin mic92 ];
|
||||
};
|
||||
};
|
||||
|
||||
linux-rt-patch = fetchpatch {
|
||||
url = "https://github.com/openzfs/zfs/commit/ab4fb9b74e9d089fc9a261c4f41e19697ad6a4ca.patch";
|
||||
sha256 = "1nrxmb4rhrkgncav6dzwm66l0700fi72qkkcs0w6pkm850srws36";
|
||||
};
|
||||
in {
|
||||
# also check if kernel version constraints in
|
||||
# ./nixos/modules/tasks/filesystems/zfs.nix needs
|
||||
@ -188,6 +193,8 @@ in {
|
||||
version = "2.0.0";
|
||||
|
||||
sha256 = "1kriz6pg8wj98izvjc60wp23lgcp4k3mzhpkgj74np73rzgy6v8r";
|
||||
|
||||
extraPatches = [ linux-rt-patch ];
|
||||
};
|
||||
|
||||
zfsUnstable = common {
|
||||
@ -198,5 +205,7 @@ in {
|
||||
version = "2.0.0";
|
||||
|
||||
sha256 = "1kriz6pg8wj98izvjc60wp23lgcp4k3mzhpkgj74np73rzgy6v8r";
|
||||
|
||||
extraPatches = [ linux-rt-patch ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user