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:
parent
4ab466cc56
commit
628ae1c63e
@ -18,6 +18,11 @@ stdenv.mkDerivation {
|
|||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
inherit (s) url sha256;
|
inherit (s) url sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# jq is linked to libjq:
|
||||||
|
configureFlags = [
|
||||||
|
"LDFLAGS=-Wl,-rpath,\\\${libdir}"
|
||||||
|
];
|
||||||
meta = {
|
meta = {
|
||||||
inherit (s) version;
|
inherit (s) version;
|
||||||
description = ''A lightweight and flexible command-line JSON processor'';
|
description = ''A lightweight and flexible command-line JSON processor'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user