tests.container: fix for 26.05

Noticed on my quest to make Lix buildable against multiple nixpkgs' to
provide pre-warmed caches for the flake on AFNix's Hydra.

`pkgs.systemd` has a new patch policy[1] that only allows patches for
hotfixes and fundamental incompatibilities. As such, the patch that
allows nspawn workloads to start without a `/usr/bin` was removed with the
recommendation to create that stub yourself.

[1] https://github.com/NixOS/nixpkgs/pull/488508

Change-Id: Iaa35ae3b8971867f12daeac5f94958c20a7d9233
This commit is contained in:
Maximilian Bosch
2026-05-31 12:27:17 +02:00
parent c64fbcbdb2
commit 003946f062
+1 -1
View File
@@ -49,7 +49,7 @@ runCommand "test"
}
''
root=$(pwd)/root
mkdir -p $root $root/etc
mkdir -p $root $root/etc $root/usr/bin
export > $root/.env