Skip to content

Commit

Permalink
jq: sanity check with --help
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Oct 4, 2017
1 parent a320034 commit 2b70f5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/tools/jq/default.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 2b70f5e

Please sign in to comment.