diff --git a/pkgs/tools/system/osquery/default.nix b/pkgs/tools/system/osquery/default.nix index c7faf4d3889e..32c085e2ec5f 100644 --- a/pkgs/tools/system/osquery/default.nix +++ b/pkgs/tools/system/osquery/default.nix @@ -39,6 +39,10 @@ stdenv.mkDerivation rec { pkgconfig cmake pythonPackages.python pythonPackages.jinja2 doxygen fpm ]; + NIX_LDFLAGS = [ + "-lcrypto" + ]; + buildInputs = let gflags' = google-gflags.overrideAttrs (old: { cmakeFlags = stdenv.lib.filter (f: isNull (builtins.match ".*STATIC.*" f)) old.cmakeFlags;