nixos: datadog-agent: fix systemd support

This commit is contained in:
Domen Kožar 2018-09-13 09:11:41 +01:00
parent bef541c569
commit 595ae18797
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -63,7 +63,8 @@ in buildGoPackage rec {
cp -R $src/pkg/status/dist/templates $bin/share/datadog-agent
wrapProgram "$bin/bin/agent" \
--set PYTHONPATH "$bin/${python.sitePackages}"
--set PYTHONPATH "$bin/${python.sitePackages}" \
--prefix LD_LIBRARY_PATH : ${systemd.lib}/lib
'';
meta = with stdenv.lib; {