jq: sanity check with --help
This commit is contained in:
parent
a3200348b7
commit
2b70f5e251
@ -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 New Issue
Block a user