From aa21b4b3d361ca8ebebae9ab771dade993afbd2a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 12 Feb 2019 23:44:07 +0100 Subject: [PATCH] lldpd: fix build The build missed `openssl` as input and failed with an error like this: ``` /nix/store/7n1h80xkbjhcijzp0iylk0nc7w05vy8k-net-snmp-5.8/include/net-snmp/library/scapi.h:14:10: fatal error: openssl/ossl_typ.h: No such file or directory #include /* EVP_MD */ ^~~~~~~~~~~~~~~~~~~~ compilation terminated. ``` This also unbreaks `osquery` (https://hydra.nixos.org/build/88547811). See also https://hydra.nixos.org/build/88562937 --- pkgs/tools/networking/lldpd/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/lldpd/default.nix b/pkgs/tools/networking/lldpd/default.nix index 193f44a62e21..d4ded1142d83 100644 --- a/pkgs/tools/networking/lldpd/default.nix +++ b/pkgs/tools/networking/lldpd/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchurl, pkgconfig, removeReferencesTo -, libevent, readline, net_snmp }: +, libevent, readline, net_snmp, openssl +}: stdenv.mkDerivation rec { name = "lldpd-${version}"; @@ -18,7 +19,7 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ pkgconfig removeReferencesTo ]; - buildInputs = [ libevent readline net_snmp ]; + buildInputs = [ libevent readline net_snmp openssl ]; enableParallelBuilding = true;