summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-03-06 21:19:20 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-03-08 00:25:15 +0100
commitf9f31ff83e4af66716ce0bbd23d28be10838b107 (patch)
tree65070b5dd63c2f8b87b3e4768563be5d47abfc6e /pkgs
parentac0021ce53d2f9d8b26aa5374ccac1cc3e4b270d (diff)
downloadnixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.tar
nixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.tar.gz
nixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.tar.bz2
nixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.tar.lz
nixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.tar.xz
nixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.tar.zst
nixpkgs-f9f31ff83e4af66716ce0bbd23d28be10838b107.zip
pdnsd: fix darwin build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/pdnsd/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/tools/networking/pdnsd/default.nix b/pkgs/tools/networking/pdnsd/default.nix
index b1e7e92e815..10c004ecd94 100644
--- a/pkgs/tools/networking/pdnsd/default.nix
+++ b/pkgs/tools/networking/pdnsd/default.nix
@@ -14,11 +14,14 @@ stdenv.mkDerivation rec {
 
   configureFlags = [ "--enable-ipv6" ];
 
-  meta = { 
+  # fix ipv6 on darwin
+  CPPFLAGS = "-D__APPLE_USE_RFC_3542";
+
+  meta = with stdenv.lib; {
     description = "Permanent DNS caching";
-    homepage = http://www.phys.uu.nl/~rombouts/pdnsd.html;
-    license = stdenv.lib.licenses.gpl3Plus;
-    platforms = stdenv.lib.platforms.unix;
-    maintainers = with stdenv.lib.maintainers; [viric];
+    homepage = http://members.home.nl/p.a.rombouts/pdnsd;
+    license = licenses.gpl3Plus;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [viric];
   };
 }