datadog-agent: use lib.getLib systemd instead of systemd.lib

This will pick the `lib` output if it exists, otherwise default to `out`.
This commit is contained in:
Florian Klink 2020-08-12 20:20:51 +02:00
parent 1b7725e58d
commit d6f3b96a5d

View File

@ -65,7 +65,7 @@ in buildGoPackage rec {
wrapProgram "$out/bin/agent" \
--set PYTHONPATH "$out/${python.sitePackages}" \
--prefix LD_LIBRARY_PATH : ${systemd.lib}/lib
--prefix LD_LIBRARY_PATH : ${lib.getLib systemd}/lib
'';
meta = with stdenv.lib; {