aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/monitoringPlugins/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/monitoringPlugins/default.nix b/pkgs/monitoringPlugins/default.nix
index 92a82ba..512ff7a 100644
--- a/pkgs/monitoringPlugins/default.nix
+++ b/pkgs/monitoringPlugins/default.nix
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
configurePhase = ''
./configure \
--prefix=$out \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
--disable-nls \
--with-ping-command="/run/wrappers/bin/ping -n -U -w %d -c %d %s" \
--with-ping6-command="/run/wrappers/bin/ping6 -n -U -w %d -c %d %s" \