net-snmp: fix references to openssl in multiple-outputs
This commit is contained in:
parent
244f985461
commit
cf4b503692
@ -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/;
|
||||
|
Loading…
Reference in New Issue
Block a user