diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-05-10 15:29:35 +0200 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-05-10 15:29:35 +0200 |
commit | 42f357d1aca9bd1cbb21880f28f1b9e0387ada56 (patch) | |
tree | 675e74d0c3f1d327a143b7d73fcd58eae46be90b /pkgs/misc | |
parent | 6f0a6bfc60206bfadb5e75cf106ca584355de590 (diff) |
journalbeat6: fix binary by setting RPATH to systemd using patchelf
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/logging/beats/6.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/misc/logging/beats/6.x.nix b/pkgs/misc/logging/beats/6.x.nix index 2cfae05c9242..5351b253eedc 100644 --- a/pkgs/misc/logging/beats/6.x.nix +++ b/pkgs/misc/logging/beats/6.x.nix @@ -45,5 +45,8 @@ in { journal entries from Linuxes with systemd. ''; buildInputs = [ systemd.dev ]; + postFixup = let libPath = stdenv.lib.makeLibraryPath [ systemd.lib ]; in '' + patchelf --set-rpath ${libPath} "$bin/bin/journalbeat" + ''; }; } |