about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-01-14 23:03:50 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-01-14 23:03:50 +0100
commit65f08fc212eee259a95d9a3f0bb52e3b47853e7c (patch)
treee2c9c723bbc415af20aa0f4b841e9c0f3cf1d513 /pkgs/tools/system
parent7788e5d536bc40246a06449a96fcf5ae3dbe88b7 (diff)
downloadnixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.tar
nixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.tar.gz
nixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.tar.bz2
nixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.tar.lz
nixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.tar.xz
nixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.tar.zst
nixlib-65f08fc212eee259a95d9a3f0bb52e3b47853e7c.zip
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')
-rw-r--r--pkgs/tools/system/osquery/default.nix4
1 files changed, 4 insertions, 0 deletions
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;