From 003946f062726dd1cb90ce90373e3a6fc362eaae Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 30 May 2026 22:14:50 +0200 Subject: [PATCH] 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 --- tests/nixos/containers/systemd-nspawn.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nixos/containers/systemd-nspawn.nix b/tests/nixos/containers/systemd-nspawn.nix index 1dad4ebd7..995e59c0a 100644 --- a/tests/nixos/containers/systemd-nspawn.nix +++ b/tests/nixos/containers/systemd-nspawn.nix @@ -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