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