net-snmp: fix mnttab path when built under chroot

This commit is contained in:
michael bishop 2015-12-15 08:45:58 -04:00
parent 903803a1f3
commit 88bccd83fe
No known key found for this signature in database
GPG Key ID: C294FC1A485A409A

View File

@ -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 ];