git.iko.soy/typeable/nixpkgs
on master help sign in
dnsperf: supports darwin
commit8eabbf1f17c438d065e27ee3f495c15bbd2ad0af authorMatthew Bauer <mjbauer95@gmail.com> dateSun 10 Jun 2018, 20:32 (8 years ago) parent7e63a20
1 file changed+3−3
pkgs/tools/networking/dnsperf/default.nix+3−3
pkgs/tools/networking/dnsperf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, bind, libseccomp, zlib, openssl }:
1+{ stdenv, fetchurl, bind, libseccomp, zlib, openssl, libcap }:
22
33stdenv.mkDerivation rec {
44 name = "dnsperf-${version}";
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
1212
1313 outputs = [ "out" "man" "doc" ];
1414
15− buildInputs = [ bind libseccomp zlib openssl ];
15+ buildInputs = [ bind zlib openssl ]
16+ ++ stdenv.lib.optional stdenv.isLinux [ libcap libseccomp ];
1617
1718 postInstall = ''
1819 mkdir -p "$out/share/doc/"
@@ -29,4 +30,3 @@ stdenv.mkDerivation rec {
2930 maintainers = [ maintainers.vcunat ];
3031 };
3132}
32−