mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
tests swap: get jq from systemPackages
This commit is contained in:
1 parent
efc80d7d89
commit
dfb7bd89e1
2 files changed
+4
-1
No files matched your search
@@ -60,6 +60,9 @@
|
||||
efiSupport = efi;
|
||||
efiInstallAsRemovable = efi;
|
||||
};
|
||||
environment.systemPackages = [
|
||||
pkgs.jq
|
||||
];
|
||||
};
|
||||
installedTopLevel = (eval-config {
|
||||
modules = [ installed-system ];
|
||||
|
||||
+1
-1
@@ -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") |
|
||||
|
||||
Reference in new issue
Block a user