linuxPackages.kvmfr: fix for linux 5.18

Babbaj 0835ac53 60a08714

+7 -1
+7 -1
pkgs/os-specific/linux/kvmfr/default.nix
··· 14 url = "https://github.com/gnif/LookingGlass/commit/a9b5302a517e19d7a2da114acf71ef1e69cfb497.patch"; 15 sha256 = "017nxlk2f7kyjp6llwa74dbczdb1jk8v791qld81dxhzkm9dyqqx"; 16 stripLen = 1; 17 }); 18 19 makeFlags = [ ··· 35 license = licenses.gpl2Plus; 36 maintainers = with maintainers; [ j-brn ]; 37 platforms = [ "x86_64-linux" ]; 38 - broken = kernel.kernelOlder "5.3" && kernel.kernelAtLeast "5.18"; 39 }; 40 }
··· 14 url = "https://github.com/gnif/LookingGlass/commit/a9b5302a517e19d7a2da114acf71ef1e69cfb497.patch"; 15 sha256 = "017nxlk2f7kyjp6llwa74dbczdb1jk8v791qld81dxhzkm9dyqqx"; 16 stripLen = 1; 17 + }) 18 + ++ lib.optional (kernel.kernelAtLeast "5.18") (fetchpatch { 19 + name = "kvmfr-5.18.patch"; 20 + url = "https://github.com/gnif/LookingGlass/commit/c7029f95042fe902843cb6acbfc75889e93dc210.patch"; 21 + sha256 = "sha256-6DpL17XWj8BKpiBdKdCPC51MWKLIo6PixQ9UaygT2Zg="; 22 + stripLen = 1; 23 }); 24 25 makeFlags = [ ··· 41 license = licenses.gpl2Plus; 42 maintainers = with maintainers; [ j-brn ]; 43 platforms = [ "x86_64-linux" ]; 44 + broken = kernel.kernelOlder "5.3"; 45 }; 46 }