diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-10 20:32:17 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-10 20:32:17 -0400 |
commit | 8eabbf1f17c438d065e27ee3f495c15bbd2ad0af (patch) | |
tree | abfd152b6612dee0bf8e586d25a4d26c02f0d872 /pkgs/tools/networking/dnsperf | |
parent | 7e63a205da67bd2fd55e0372a780ca262fb77358 (diff) |
dnsperf: supports darwin
Diffstat (limited to 'pkgs/tools/networking/dnsperf')
-rw-r--r-- | pkgs/tools/networking/dnsperf/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/dnsperf/default.nix b/pkgs/tools/networking/dnsperf/default.nix index 97aad141239e7..b978925c62b54 100644 --- a/pkgs/tools/networking/dnsperf/default.nix +++ b/pkgs/tools/networking/dnsperf/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, bind, libseccomp, zlib, openssl }: +{ stdenv, fetchurl, bind, libseccomp, zlib, openssl, libcap }: stdenv.mkDerivation rec { name = "dnsperf-${version}"; @@ -12,7 +12,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" "doc" ]; - buildInputs = [ bind libseccomp zlib openssl ]; + buildInputs = [ bind zlib openssl ] + ++ stdenv.lib.optional stdenv.isLinux [ libcap libseccomp ]; postInstall = '' mkdir -p "$out/share/doc/" @@ -29,4 +30,3 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.vcunat ]; }; } - |