diff options
author | Babbaj <babbaj45@gmail.com> | 2022-05-31 17:53:46 -0400 |
---|---|---|
committer | Babbaj <babbaj45@gmail.com> | 2022-05-31 17:53:46 -0400 |
commit | 0835ac53cfc7387ef8de43bafc36ede6f61461a9 (patch) | |
tree | 6f3211d2e81ab9f1b1ab87fa9cd00d3e8abeb7f7 | |
parent | 60a08714866da907bc9e63e49a157c8d20893520 (diff) | |
download | nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.tar nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.tar.gz nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.tar.bz2 nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.tar.lz nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.tar.xz nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.tar.zst nixpkgs-0835ac53cfc7387ef8de43bafc36ede6f61461a9.zip |
linuxPackages.kvmfr: fix for linux 5.18
-rw-r--r-- | pkgs/os-specific/linux/kvmfr/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kvmfr/default.nix b/pkgs/os-specific/linux/kvmfr/default.nix index 4bb20a9b62a..24fedbf59d7 100644 --- a/pkgs/os-specific/linux/kvmfr/default.nix +++ b/pkgs/os-specific/linux/kvmfr/default.nix @@ -14,6 +14,12 @@ stdenv.mkDerivation rec { url = "https://github.com/gnif/LookingGlass/commit/a9b5302a517e19d7a2da114acf71ef1e69cfb497.patch"; sha256 = "017nxlk2f7kyjp6llwa74dbczdb1jk8v791qld81dxhzkm9dyqqx"; stripLen = 1; + }) + ++ lib.optional (kernel.kernelAtLeast "5.18") (fetchpatch { + name = "kvmfr-5.18.patch"; + url = "https://github.com/gnif/LookingGlass/commit/c7029f95042fe902843cb6acbfc75889e93dc210.patch"; + sha256 = "sha256-6DpL17XWj8BKpiBdKdCPC51MWKLIo6PixQ9UaygT2Zg="; + stripLen = 1; }); makeFlags = [ @@ -35,6 +41,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; maintainers = with maintainers; [ j-brn ]; platforms = [ "x86_64-linux" ]; - broken = kernel.kernelOlder "5.3" && kernel.kernelAtLeast "5.18"; + broken = kernel.kernelOlder "5.3"; }; } |