mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
kvmfr: fix build for linux-6_10
This commit is contained in:
parent
64b9cf1101
commit
83da4f513d
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, kernel, looking-glass-client }:
|
||||
{ lib, stdenv, fetchpatch, kernel, looking-glass-client }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "kvmfr";
|
||||
@ -9,6 +9,15 @@ stdenv.mkDerivation {
|
||||
hardeningDisable = [ "pic" "format" ];
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
patches = [
|
||||
# fix build for linux-6_10
|
||||
(fetchpatch {
|
||||
url = "https://github.com/gnif/LookingGlass/commit/7305ce36af211220419eeab302ff28793d515df2.patch";
|
||||
hash = "sha256-97nZsIH+jKCvSIPf1XPf3i8Wbr24almFZzMOhjhLOYk=";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"KVER=${kernel.modDirVersion}"
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
|
Loading…
Reference in New Issue
Block a user