Merge pull request #110472 from flokli/grafana-agent-fix-rpath
grafana-agent: fix rpath
This commit is contained in:
commit
45b32bff65
@ -27,7 +27,7 @@ buildGoModule rec {
|
|||||||
# Add to RUNPATH so it can be found.
|
# Add to RUNPATH so it can be found.
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
patchelf \
|
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
|
$out/bin/agent
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user