mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +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