mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
tests swap: get jq from systemPackages
This commit is contained in:
parent
efc80d7d89
commit
dfb7bd89e1
2 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue