datadog-agent: add rtloader to LD_LIBRARY_PATH
This fixes the python init error mentioned here: https://github.com/NixOS/nixpkgs/issues/105221#issuecomment-1251150900 However, there are still issues with the derived python environment - for some reason datadog_checks.base is not present in the env's site-packages, which all the other checks depend on, so python loading still isn't working fully (but I believe this is an improvement over what's there already at least).
This commit is contained in:
parent
5727fbea4a
commit
845e54e94b
1 changed files with 1 additions and 2 deletions
|
@ -100,8 +100,7 @@ in buildGo118Module rec {
|
|||
|
||||
wrapProgram "$out/bin/agent" \
|
||||
--set PYTHONPATH "$out/${python.sitePackages}"'' + lib.optionalString withSystemd '' \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.getLib systemd}/lib
|
||||
'';
|
||||
--prefix LD_LIBRARY_PATH : '' + lib.makeLibraryPath [ (lib.getLib systemd) rtloader ];
|
||||
|
||||
meta = with lib; {
|
||||
description = ''
|
||||
|
|
Loading…
Reference in a new issue