jq: make sure libjq is in library search path

Fixes runtime error:

jq: error while loading shared libraries: libjq.so.1:
cannot open shared object file: No such file or directory
This commit is contained in:
Igor Pashev 2014-08-13 14:22:38 +02:00
parent 4ab466cc56
commit 628ae1c63e

View File

@ -18,6 +18,11 @@ stdenv.mkDerivation {
src = fetchurl {
inherit (s) url sha256;
};
# jq is linked to libjq:
configureFlags = [
"LDFLAGS=-Wl,-rpath,\\\${libdir}"
];
meta = {
inherit (s) version;
description = ''A lightweight and flexible command-line JSON processor'';