Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

journalbeat7: fix binary by setting RPATH to systemd using patchelf

(cherry picked from commit 42c9c6df73a1813fd485a5ec731b621ed8371989)

+3
+3
pkgs/misc/logging/beats/7.x.nix
··· 45 45 journal entries from Linuxes with systemd. 46 46 ''; 47 47 buildInputs = [ systemd.dev ]; 48 + postFixup = let libPath = stdenv.lib.makeLibraryPath [ systemd.lib ]; in '' 49 + patchelf --set-rpath ${libPath} "$bin/bin/journalbeat" 50 + ''; 48 51 }; 49 52 }