nixosTests.grow-partition: fix test
The grow-partition test uses a bootloader installed on the disk image resulting from `make-disk-image.nix`, which requires that the nixos config is "switchable".
This commit is contained in:
@@ -32,6 +32,9 @@ let
|
||||
"/".device = rootFsDevice;
|
||||
};
|
||||
|
||||
# Needed for installing bootloader
|
||||
system.switch.enable = true;
|
||||
|
||||
system.build.diskImage = import ../lib/make-disk-image.nix {
|
||||
inherit config lib pkgs;
|
||||
label = rootFslabel;
|
||||
|
||||
Reference in New Issue
Block a user