jq: Replace VM test

This commit is contained in:
Tim Steinbach
2021-02-22 18:51:28 -05:00
parent 7b9655158e
commit 4fb9ba02e4
3 changed files with 1 additions and 13 deletions
+1 -2
View File
@@ -28,10 +28,9 @@ stdenv.mkDerivation rec {
postInstallCheck = ''
$bin/bin/jq --help >/dev/null
$bin/bin/jq -r '.values[1]' <<< '{"values":["hello","world"]}' | grep '^world$' > /dev/null
'';
passthru.tests = { inherit (nixosTests) jq; };
meta = with lib; {
description = "A lightweight and flexible command-line JSON processor";
license = licenses.mit;