Merge pull request #30809 from andir/dnstracer-darwin
dnstracer: fix build on darwin
This commit is contained in:
commit
31db63bd74
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, libresolv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.9";
|
version = "1.9";
|
||||||
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
setOutputFlags = false;
|
setOutputFlags = false;
|
||||||
|
|
||||||
|
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ libresolv ];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lresolv";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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.";
|
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;
|
homepage = http://www.mavetju.org/unix/general.php;
|
||||||
|
@ -19794,5 +19794,7 @@ with pkgs;
|
|||||||
|
|
||||||
duti = callPackage ../os-specific/darwin/duti {};
|
duti = callPackage ../os-specific/darwin/duti {};
|
||||||
|
|
||||||
dnstracer = callPackage ../tools/networking/dnstracer {};
|
dnstracer = callPackage ../tools/networking/dnstracer {
|
||||||
|
inherit (darwin) libresolv;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user