jq: Replace VM test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user