diff options
author | michael bishop <cleverca22@gmail.com> | 2015-12-15 08:45:58 -0400 |
---|---|---|
committer | michael bishop <cleverca22@gmail.com> | 2015-12-15 08:45:58 -0400 |
commit | 88bccd83feffe9643169303c333bfc57f0f5dfec (patch) | |
tree | 5f51ca0af825750fb088ca45677caa8f3d20c2df /pkgs/servers/monitoring | |
parent | 903803a1f379951c68224f847ccdf717fcf2d36c (diff) | |
download | nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.tar nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.tar.gz nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.tar.bz2 nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.tar.lz nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.tar.xz nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.tar.zst nixlib-88bccd83feffe9643169303c333bfc57f0f5dfec.zip |
net-snmp: fix mnttab path when built under chroot
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/net-snmp/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/net-snmp/default.nix b/pkgs/servers/monitoring/net-snmp/default.nix index efc61b9fd6b2..c53f52422cf9 100644 --- a/pkgs/servers/monitoring/net-snmp/default.nix +++ b/pkgs/servers/monitoring/net-snmp/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { "--with-logfile=/var/log/net-snmpd.log" "--with-persistent-directory=/var/lib/net-snmp" "--with-openssl=${openssl}" - ]; + ] ++ stdenv.lib.optional stdenv.isLinux [ "--with-mnttab=/proc/mounts" ]; buildInputs = [ autoreconfHook file perl unzip openssl ]; |