Skip to content

Commit

Permalink
journalbeat7: fix binary by setting RPATH to systemd using patchelf
Browse files Browse the repository at this point in the history
  • Loading branch information
basvandijk committed May 10, 2019
1 parent 42f357d commit 42c9c6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/misc/logging/beats/7.x.nix
Expand Up @@ -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"
'';
};
}

0 comments on commit 42c9c6d

Please sign in to comment.