summary refs log tree commit diff
path: root/pkgs/development/tools/documentation
diff options
context:
space:
mode:
authorAnthony Cowley <acowley@gmail.com>2016-03-28 18:19:41 -0400
committerAnthony Cowley <acowley@gmail.com>2016-03-28 18:19:41 -0400
commit8db6998a0a744f6f94d68aa28bebdfe13ba00222 (patch)
treef02d16d21a84c78f6e52dc9d752a340fe424b03e /pkgs/development/tools/documentation
parentdcae10ebdac761005c6ce3fc33ea6d958faa3bb0 (diff)
downloadnixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.tar
nixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.tar.gz
nixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.tar.bz2
nixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.tar.lz
nixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.tar.xz
nixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.tar.zst
nixpkgs-8db6998a0a744f6f94d68aa28bebdfe13ba00222.zip
doxygen: fix on darwin
This avoids an issue where an old OS X SDK is assumed, leading to a
linker error of the form:

Undefined symbols: __Unwind_Resume
Diffstat (limited to 'pkgs/development/tools/documentation')
-rw-r--r--pkgs/development/tools/documentation/doxygen/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/tools/documentation/doxygen/default.nix b/pkgs/development/tools/documentation/doxygen/default.nix
index c843f0d2eef..0b16723866b 100644
--- a/pkgs/development/tools/documentation/doxygen/default.nix
+++ b/pkgs/development/tools/documentation/doxygen/default.nix
@@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
   cmakeFlags =
     stdenv.lib.optional (qt4 != null) "-Dbuild_wizard=YES";
 
+  NIX_CFLAGS_COMPILE =
+    stdenv.lib.optional stdenv.isDarwin "-mmacosx-version-min=10.9";
+
   enableParallelBuilding = true;
 
   meta = {