diff options
author | Patrick Hilhorst <git@hilhorst.be> | 2021-10-28 14:06:05 +0200 |
---|---|---|
committer | Patrick Hilhorst <git@hilhorst.be> | 2021-10-28 17:31:03 +0200 |
commit | 4dc3596fd172c26ed418c1eac64044a28679d21e (patch) | |
tree | 279d496d90a6494f2019c5be5150760aefdfc02e /pkgs/development/python-modules/yq/default.nix | |
parent | e29cb6cb57fd0fe293d4678c4010d5e26928c5f3 (diff) |
nixosTests.yq: remove, move to yq package
Diffstat (limited to 'pkgs/development/python-modules/yq/default.nix')
-rw-r--r-- | pkgs/development/python-modules/yq/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/yq/default.nix b/pkgs/development/python-modules/yq/default.nix index 922276e388949..a9225d435437a 100644 --- a/pkgs/development/python-modules/yq/default.nix +++ b/pkgs/development/python-modules/yq/default.nix @@ -45,7 +45,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "yq" ]; - passthru.tests = { inherit (nixosTests) yq; }; + doInstallCheck = true; + installCheckPhase = '' + echo '{"hello":{"foo":"bar"}}' | $out/bin/yq -y . | grep 'foo: bar' + ''; meta = with lib; { description = "Command-line YAML processor - jq wrapper for YAML documents"; |