mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
Merge pull request #110472 from flokli/grafana-agent-fix-rpath
grafana-agent: fix rpath
This commit is contained in:
commit
45b32bff65
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ buildGoModule rec {
|
|||
# Add to RUNPATH so it can be found.
|
||||
postFixup = ''
|
||||
patchelf \
|
||||
--set-rpath "${lib.makeLibraryPath [ (lib.getDev systemd) ]}:$(patchelf --print-rpath $out/bin/agent)" \
|
||||
--set-rpath "${lib.makeLibraryPath [ (lib.getLib systemd) ]}:$(patchelf --print-rpath $out/bin/agent)" \
|
||||
$out/bin/agent
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue