forked from mirrors/nixpkgs
dnstracer: fix build on darwin
This commit is contained in:
parent
4068703502
commit
32d6259eec
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, libresolv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.9";
|
||||
|
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
setOutputFlags = false;
|
||||
|
||||
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ libresolv ];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lresolv";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Dnstracer determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data.";
|
||||
homepage = http://www.mavetju.org/unix/general.php;
|
||||
|
|
|
@ -19783,5 +19783,7 @@ with pkgs;
|
|||
|
||||
duti = callPackage ../os-specific/darwin/duti {};
|
||||
|
||||
dnstracer = callPackage ../tools/networking/dnstracer {};
|
||||
dnstracer = callPackage ../tools/networking/dnstracer {
|
||||
inherit (darwin) libresolv;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue