diff options
author | Christian Kögler <ck3d@gmx.de> | 2022-10-01 10:00:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 10:00:04 +0200 |
commit | 95ca550fa3c157528e2ac86bc46da0be3b3271f2 (patch) | |
tree | 817b20bc5111fe05b8854b141e206bc99c9ccc81 /nixos | |
parent | f02437b9d97548c6c8b974a13e6f1ef045eac58d (diff) | |
parent | 155c7b11a5a8c703a35c405b92592372287d85cc (diff) |
Merge pull request #191902 from ck3d/fix-machinectl-system
nixos/test: fix system for container in systemd-machinectl
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/systemd-machinectl.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/systemd-machinectl.nix b/nixos/tests/systemd-machinectl.nix index 5c7926e24abf..7a4888ab85f6 100644 --- a/nixos/tests/systemd-machinectl.nix +++ b/nixos/tests/systemd-machinectl.nix @@ -1,4 +1,4 @@ -import ./make-test-python.nix ( +import ./make-test-python.nix ({ pkgs, ... }: let container = { @@ -18,6 +18,7 @@ import ./make-test-python.nix ( }; containerSystem = (import ../lib/eval-config.nix { + inherit (pkgs) system; modules = [ container ]; }).config.system.build.toplevel; |