jq: sanity check with --help
This commit is contained in:
parent
a3200348b7
commit
2b70f5e251
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue