Fork libkrun again to fix buffer mapping permission issue (fix #18)

Initial D-Bus WIP is also there..
This commit is contained in:
Val Packett 2026-02-20 05:17:28 -03:00
parent adf2d24b60
commit beeb5f5d9f
3 changed files with 35 additions and 15 deletions

View file

@ -1,8 +1,9 @@
{
libkrun,
libkrunfw,
# libkrun-src,
# rustPlatform,
libkrun-src,
rustPlatform,
libcap_ng,
variant ? null,
...
}:
@ -21,10 +22,11 @@ let
libkrunfw = libkrunfw';
};
in
libkrun'
# libkrun'.overrideAttrs (old: {
# src = libkrun-src;
# cargoDeps = rustPlatform.importCargoLock {
# lockFile = "${libkrun-src}/Cargo.lock";
# };
# })
# libkrun'
libkrun'.overrideAttrs (old: {
src = libkrun-src;
cargoDeps = rustPlatform.importCargoLock {
lockFile = "${libkrun-src}/Cargo.lock";
};
buildInputs = old.buildInputs ++ [ libcap_ng ]; # new dep
})