mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 10:30:32 +00:00
journalbeat7: fix binary by setting RPATH to systemd using patchelf
(cherry picked from commit 42c9c6df73)
This commit is contained in:
@@ -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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user