mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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:
parent
bae7a7ac67
commit
831ccafadf
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue