mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
tests swap: get jq from systemPackages
This commit is contained in:
parent
efc80d7d89
commit
dfb7bd89e1
@ -60,6 +60,9 @@
|
||||
efiSupport = efi;
|
||||
efiInstallAsRemovable = efi;
|
||||
};
|
||||
environment.systemPackages = [
|
||||
pkgs.jq
|
||||
];
|
||||
};
|
||||
installedTopLevel = (eval-config {
|
||||
modules = [ installed-system ];
|
||||
|
@ -8,7 +8,7 @@ makeDiskoTest {
|
||||
machine.succeed("swapon --show >&2");
|
||||
machine.succeed("""
|
||||
lsblk --json |
|
||||
${pkgs.jq}/bin/jq -e '.blockdevices[] |
|
||||
jq -e '.blockdevices[] |
|
||||
select(.name == "vda") |
|
||||
.children[] |
|
||||
select(.name == "vda3") |
|
||||
|
Loading…
Reference in New Issue
Block a user