diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-12-31 16:23:30 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-12-31 16:23:30 +0300 |
commit | c0492d09ba1f91fce9f46e2340f18a28b735afcd (patch) | |
tree | 98bd679e7aa9c5d53f15594c482f95a433aed98a | |
parent | 4ddedf93f15d8d2ae993116c330eb9025bf98f29 (diff) | |
download | nixsap-c0492d09ba1f91fce9f46e2340f18a28b735afcd.tar.gz |
monitoringPlugins: set some dirs out of the prefix
This is to help copying plugins to other packages like `probes`
so that those new packages would not depend on the whole
`monitoringPlugins`.
-rw-r--r-- | pkgs/monitoringPlugins/default.nix | 2 |
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" \ |