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 <openssl/ossl_typ.h> /* EVP_MD */
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
```

This also unbreaks `osquery` (https://hydra.nixos.org/build/88547811).

See also https://hydra.nixos.org/build/88562937
This commit is contained in:
Maximilian Bosch 2019-02-12 23:44:07 +01:00
parent 8a50050229
commit aa21b4b3d3
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -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;