mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
lxc: fix nvidia runtime hook
Fixes the NVIDIA runtime hook by including https://github.com/lxc/lxc/pull/4536
This commit is contained in:
parent
c7be0a3834
commit
ee8a72746a
1 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
||||||
pkg-config,
|
pkg-config,
|
||||||
systemd,
|
systemd,
|
||||||
|
|
||||||
|
fetchpatch,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -57,6 +58,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
# Fix hardcoded path of lxc-user-nic
|
# Fix hardcoded path of lxc-user-nic
|
||||||
# This is needed to use unprivileged containers
|
# This is needed to use unprivileged containers
|
||||||
./user-nic.diff
|
./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 = [
|
mesonFlags = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue