From 831ccafadf3c18be16693a1845cae150c2fc34bb Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Fri, 20 Dec 2024 12:59:26 -0800 Subject: [PATCH] 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". --- nixos/tests/grow-partition.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/grow-partition.nix b/nixos/tests/grow-partition.nix index c8eef519fb5c..84ea1312a03e 100644 --- a/nixos/tests/grow-partition.nix +++ b/nixos/tests/grow-partition.nix @@ -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;