summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSusan Potter <me@susanpotter.net>2015-06-01 13:53:12 -0500
committerSusan Potter <me@susanpotter.net>2015-06-01 13:54:13 -0500
commit727565279f94a77306f2a06040b82fd1f06c8097 (patch)
treea34f1966fd8f1a9cd92c018e808f323c3b6088d9 /pkgs
parent314c6847aa8d3b2335889c7ef3b26adb6c933375 (diff)
downloadnixlib-727565279f94a77306f2a06040b82fd1f06c8097.tar
nixlib-727565279f94a77306f2a06040b82fd1f06c8097.tar.gz
nixlib-727565279f94a77306f2a06040b82fd1f06c8097.tar.bz2
nixlib-727565279f94a77306f2a06040b82fd1f06c8097.tar.lz
nixlib-727565279f94a77306f2a06040b82fd1f06c8097.tar.xz
nixlib-727565279f94a77306f2a06040b82fd1f06c8097.tar.zst
nixlib-727565279f94a77306f2a06040b82fd1f06c8097.zip
Fix dd-agent buildInputs to include pythonPackages.psutil
When deploying current master version journalctl showed ImportErrors in the logs with message:
'No module named psutil' and systemctl dd-agent service failed to start. To fix I added
pythonPackages.psutil as a buildInputs entry and this fixed the issue.

See this Gist for journalctl errors for reference:
https://gist.github.com/mbbx6spp/59eefabbe708c335a31f
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/dd-agent/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/tools/networking/dd-agent/default.nix b/pkgs/tools/networking/dd-agent/default.nix
index 911bb7197eb6..8c340460b750 100644
--- a/pkgs/tools/networking/dd-agent/default.nix
+++ b/pkgs/tools/networking/dd-agent/default.nix
@@ -12,7 +12,17 @@ stdenv.mkDerivation rec {
     sha256 = "05flcbzpnmhf6qskkccbfk957sl9hhydlp4p5vqhs62hkpwmqwan";
   };
 
-  buildInputs = [ python unzip makeWrapper pythonPackages.psycopg2 pythonPackages.ntplib pythonPackages.simplejson pythonPackages.pyyaml pythonPackages.requests ];
+  buildInputs = [
+    python
+    unzip
+    makeWrapper
+    pythonPackages.psycopg2
+    pythonPackages.psutil
+    pythonPackages.ntplib
+    pythonPackages.simplejson
+    pythonPackages.pyyaml
+    pythonPackages.requests
+  ];
   propagatedBuildInputs = [ python tornado ];
 
   buildCommand = ''