lxc: fix nvidia runtime hook (#411282)

This commit is contained in:
Adam C. Stephens
2025-05-27 14:33:35 -04:00
committed by GitHub
+8
View File
@@ -17,6 +17,7 @@
pkg-config,
systemd,
fetchpatch,
nix-update-script,
}:
@@ -57,6 +58,13 @@ stdenv.mkDerivation (finalAttrs: {
# Fix hardcoded path of lxc-user-nic
# This is needed to use unprivileged containers
./user-nic.diff
# Fixes https://github.com/zabbly/incus/issues/81
(fetchpatch {
name = "4536.patch";
url = "https://patch-diff.githubusercontent.com/raw/lxc/lxc/pull/4536.patch";
hash = "sha256-yEqK9deO2MhfPROPfBw44Z752Mc5bR8DBKl1KrGC+5c=";
})
];
mesonFlags = [