diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-06-10 17:50:57 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-06-10 17:51:06 +0200 |
commit | 0d55eebcf53fbdf2485429fb32956a60f6421e8d (patch) | |
tree | eabadf7388926679affba51890ded19dbf29b8e3 /nixos/tests/systemd-boot.nix | |
parent | a30520bf8eabf8a5c37889d661e67a2dbcaa59e6 (diff) |
nixosTests.systemd-boot.switch-test: Fix test
... by making the alternate configs available in machine's store.
Diffstat (limited to 'nixos/tests/systemd-boot.nix')
-rw-r--r-- | nixos/tests/systemd-boot.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nixos/tests/systemd-boot.nix b/nixos/tests/systemd-boot.nix index 19034b299999b..7143da7bf9954 100644 --- a/nixos/tests/systemd-boot.nix +++ b/nixos/tests/systemd-boot.nix @@ -207,11 +207,17 @@ in nodes = { inherit common; - machine = { pkgs, ... }: { + machine = { pkgs, nodes, ... }: { imports = [ common ]; boot.loader.systemd-boot.extraFiles = { "efi/fruits/tomato.efi" = pkgs.netbootxyz-efi; }; + + # These are configs for different nodes, but we'll use them here in `machine` + system.extraDependencies = [ + nodes.common.system.build.toplevel + nodes.with_netbootxyz.system.build.toplevel + ]; }; with_netbootxyz = { pkgs, ... }: { |