mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
net-snmp: fix mnttab path when built under chroot
This commit is contained in:
parent
903803a1f3
commit
88bccd83fe
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user