mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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 {
|
||||
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'';
|
||||
|
Loading…
Reference in New Issue
Block a user