diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-08-13 14:22:38 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-08-18 16:22:51 +0200 |
commit | 628ae1c63e471a29005229a354d1d1883c881e06 (patch) | |
tree | 43570de6e3ad4285661cd3510af43f0b4ed76aff /pkgs/development/tools/jq | |
parent | 4ab466cc567545e45ba23065a6fabd756b8b38de (diff) |
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
Diffstat (limited to 'pkgs/development/tools/jq')
-rw-r--r-- | pkgs/development/tools/jq/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/jq/default.nix b/pkgs/development/tools/jq/default.nix index 514aa8746c665..8194ffc22a81d 100644 --- a/pkgs/development/tools/jq/default.nix +++ b/pkgs/development/tools/jq/default.nix @@ -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''; |