linuxPackages.kvmfr: fix for linux 5.18

This commit is contained in:
Babbaj 2022-05-31 17:53:46 -04:00
parent 60a0871486
commit 0835ac53cf
No known key found for this signature in database
GPG key ID: F044309848A07CAC

View file

@ -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";
};
}