diff options
author | William A. Kennington III <william@wkennington.com> | 2015-01-09 10:23:35 -0800 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-01-09 10:40:29 -0800 |
commit | 90a641310ca331e9cacb31556632444f40c24d69 (patch) | |
tree | 2480101028e8483056dcfd51eec43997e833f5b1 /pkgs/servers | |
parent | 15e7acd0cfd06ae4b9d9a421c2bbe4685cf8e004 (diff) | |
download | nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.tar nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.tar.gz nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.tar.bz2 nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.tar.lz nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.tar.xz nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.tar.zst nixpkgs-90a641310ca331e9cacb31556632444f40c24d69.zip |
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.
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/net-snmp/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/net-snmp/default.nix b/pkgs/servers/monitoring/net-snmp/default.nix index 28ad5819438..efc61b9fd6b 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; |