Unverified Commit 5f3a260b authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

lxc: fix nvidia runtime hook (#411282)

parents 4faa5f53 ee8a7274
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = [