diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2021-01-25 12:11:59 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2021-01-25 12:11:59 +0100 |
commit | 4ff48ea01cc277de07168caf625fd4a03b5dc710 (patch) | |
tree | d194f9c58357d137948ee7e3c48fbe93f95dad52 /nixos/tests/searx.nix | |
parent | ae82038d5f5dee37756e57fc477ef549a4fff31f (diff) |
nixos/tests/searx: fix build
yq-go has been updated with breaking changes to the syntax.
Diffstat (limited to 'nixos/tests/searx.nix')
-rw-r--r-- | nixos/tests/searx.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/searx.nix b/nixos/tests/searx.nix index 22c1967b81606..7c28eea30d207 100644 --- a/nixos/tests/searx.nix +++ b/nixos/tests/searx.nix @@ -81,8 +81,9 @@ import ./make-test-python.nix ({ pkgs, ...} : base.wait_for_unit("searx-init") base.wait_for_file("/run/searx/settings.yml") output = base.succeed( - "${pkgs.yq-go}/bin/yq r /run/searx/settings.yml" - " 'engines.(name==startpage).shortcut'" + "${pkgs.yq-go}/bin/yq eval" + " '.engines[] | select(.name==\"startpage\") | .shortcut'" + " /run/searx/settings.yml" ).strip() assert output == "start", "Settings not merged" |