diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-05-10 15:36:53 +0200 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-05-10 15:36:53 +0200 |
commit | 42c9c6df73a1813fd485a5ec731b621ed8371989 (patch) | |
tree | 535a1484b094bf4f7d13333b80f3c1d1ec254621 /pkgs/misc/logging | |
parent | 42f357d1aca9bd1cbb21880f28f1b9e0387ada56 (diff) |
journalbeat7: fix binary by setting RPATH to systemd using patchelf
Diffstat (limited to 'pkgs/misc/logging')
-rw-r--r-- | pkgs/misc/logging/beats/7.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/misc/logging/beats/7.x.nix b/pkgs/misc/logging/beats/7.x.nix index 629f4128acb7..12e08dfeec69 100644 --- a/pkgs/misc/logging/beats/7.x.nix +++ b/pkgs/misc/logging/beats/7.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" + ''; }; } |