nixos/tests/incus: re-enable user feature test (#581001)

This commit is contained in:
Adam C. Stephens
2026-10-30 15:34:21 +00:00
committed by GitHub
2 changed files with 13 additions and 2 deletions

View File

@@ -23,8 +23,7 @@ in
all = incusRunTest {
name = "all";
appArmor = true;
# https://github.com/lxc/incus/issues/4297
# feature.user = true;
feature.user = true;
instances = {
c1 = {

View File

@@ -2,6 +2,18 @@ import ./generic.nix {
hash = "sha256-JO6qZvsy3EcMYVXF3SjQljOSAEG1RlQTK+eiQIT9c1s=";
version = "7.6.0";
vendorHash = "sha256-3T3NXH3GVfn1K6dfObOji4GCkcYzio8yRfdV5nyOAtE=";
patches = fetchpatch: [
# client: Only probe Unix sockets when several exist
(fetchpatch {
url = "https://github.com/lxc/incus/commit/d34562e45efe62c8c31523f7c82a508d13f68219.patch";
hash = "sha256-HrnNuMb9vw5Na97UiZZujdHekTkUOsKnowiHyMBqp5Q=";
})
# incus-user: Serialize user setup across connections
(fetchpatch {
url = "https://github.com/lxc/incus/commit/ef9a103401c19d26a3def929c310eadfa376bfea.patch";
hash = "sha256-cTsf+FvG1inYfZDIZAfP61K1YJ3gmUZj5yfkyxL7D54=";
})
];
nixUpdateExtraArgs = [
"--override-filename=pkgs/by-name/in/incus/package.nix"
];