net-snmp: Don't propagate openssl as this may break builds

Instead, explicility specify openssl during configuration which forces
the builder to include -L${openssl}/lib whenever linking against
net-snmp libraries.
This commit is contained in:
William A. Kennington III 2015-01-09 10:23:35 -08:00
parent 15e7acd0cf
commit 90a641310c

View file

@ -24,10 +24,10 @@ stdenv.mkDerivation rec {
"--with-sys-contact=root@unknown"
"--with-logfile=/var/log/net-snmpd.log"
"--with-persistent-directory=/var/lib/net-snmp"
"--with-openssl=${openssl}"
];
buildInputs = [ autoreconfHook file perl unzip ];
propagatedBuildInputs = [ openssl ];
buildInputs = [ autoreconfHook file perl unzip openssl ];
enableParallelBuilding = true;