net-snmp: fix references to openssl in multiple-outputs

This commit is contained in:
Luca Bruno 2015-12-07 16:32:30 +01:00
parent 244f985461
commit cf4b503692

View File

@ -31,6 +31,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
for f in $out/lib/*.la $out/bin/net-snmp-config $out/bin/net-snmp-create-v3-user; do
sed 's|-L${openssl}|-L${openssl.out}|g' -i $f
done
'';
meta = with stdenv.lib; {
description = "Clients and server for the SNMP network monitoring protocol";
homepage = http://net-snmp.sourceforge.net/;