mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
journalbeat6: fix binary by setting RPATH to systemd using patchelf
This commit is contained in:
parent
6f0a6bfc60
commit
42f357d1ac
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue