journalbeat6: fix binary by setting RPATH to systemd using patchelf
This commit is contained in:
parent
6f0a6bfc60
commit
42f357d1ac
@ -45,5 +45,8 @@ in {
|
|||||||
journal entries from Linuxes with systemd.
|
journal entries from Linuxes with systemd.
|
||||||
'';
|
'';
|
||||||
buildInputs = [ systemd.dev ];
|
buildInputs = [ systemd.dev ];
|
||||||
|
postFixup = let libPath = stdenv.lib.makeLibraryPath [ systemd.lib ]; in ''
|
||||||
|
patchelf --set-rpath ${libPath} "$bin/bin/journalbeat"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user