diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-01-14 23:03:50 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-01-14 23:03:50 +0100 |
commit | 65f08fc212eee259a95d9a3f0bb52e3b47853e7c (patch) | |
tree | e2c9c723bbc415af20aa0f4b841e9c0f3cf1d513 /pkgs/tools/system/osquery | |
parent | 7788e5d536bc40246a06449a96fcf5ae3dbe88b7 (diff) |
osquery: fix build
It seems as without the appropriate linker flag `-lcrypto` the `libcrypto.sh` can't be found by `ld` which broke one of the linker processes during compilation. See also https://hydra.nixos.org/build/87208819
Diffstat (limited to 'pkgs/tools/system/osquery')
-rw-r--r-- | pkgs/tools/system/osquery/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/system/osquery/default.nix b/pkgs/tools/system/osquery/default.nix index c7faf4d3889e8..32c085e2ec5f5 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; |