Skip to content

Commit 3adb9c1

Browse files
weriomatrvem
authored andcommitted
fix tests need the switch-to-configuration binary for successfull deploys
[This](NixOS/nixpkgs@4cfbbb3) commit has disabled the option by default, but we need the `switch-to-configuration` binary in order to successfully deploy to the server
1 parent 6fc0024 commit 3adb9c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nix/tests/common.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
};
1616
};
1717

18+
# The "nixos-test-profile" profile disables the `switch-to-configuration` script by default
19+
system.switch.enable = true;
20+
1821
virtualisation.graphics = false;
1922
virtualisation.memorySize = 1536;
2023
boot.loader.grub.enable = false;

0 commit comments

Comments
 (0)