From 4844d867d72b457feb59165f7511a05fa2d36121 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Wed, 18 May 2022 21:07:22 -0400 Subject: [PATCH] libmodsecurity: remove dependency on valgrind valgrind is only supported on certain platforms (it notably lacks support for armv6l), so needs to be excluded as a dependency on unsupported platforms. In this case, it turns out that valgrind is not currently used at all, so I removed it entirely. libmodsecurity can optionally use valgrind to run tests, but we don't run the tests at all. --- pkgs/tools/security/libmodsecurity/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/libmodsecurity/default.nix b/pkgs/tools/security/libmodsecurity/default.nix index 4ba294e42f2..531f88333d0 100644 --- a/pkgs/tools/security/libmodsecurity/default.nix +++ b/pkgs/tools/security/libmodsecurity/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchFromGitHub , autoreconfHook, bison, flex, pkg-config , curl, geoip, libmaxminddb, libxml2, lmdb, lua, pcre -, ssdeep, valgrind, yajl +, ssdeep, yajl , nixosTests }: @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ autoreconfHook bison flex pkg-config ]; - buildInputs = [ curl geoip libmaxminddb libxml2 lmdb lua pcre ssdeep valgrind yajl ]; + buildInputs = [ curl geoip libmaxminddb libxml2 lmdb lua pcre ssdeep yajl ]; outputs = [ "out" "dev" ];