jq: sanity check with --help

wip/yesman
Domen Kožar 7 years ago
parent a3200348b7
commit 2b70f5e251
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246
  1. 3
      pkgs/development/tools/jq/default.nix

@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
# jq is linked to libjq:
configureFlags = stdenv.lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
installCheckPhase = "$out/bin/jq --help";
doInstallCheck = true;
meta = with stdenv.lib; {
description = ''A lightweight and flexible command-line JSON processor'';
license = licenses.mit;

Loading…
Cancel
Save