From 90a641310ca331e9cacb31556632444f40c24d69 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Fri, 9 Jan 2015 10:23:35 -0800 Subject: [PATCH] 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. --- pkgs/servers/monitoring/net-snmp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/net-snmp/default.nix b/pkgs/servers/monitoring/net-snmp/default.nix index 28ad58194387..efc61b9fd6b2 100644 --- a/pkgs/servers/monitoring/net-snmp/default.nix +++ b/pkgs/servers/monitoring/net-snmp/default.nix @@ -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;