From 8db6998a0a744f6f94d68aa28bebdfe13ba00222 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Mon, 28 Mar 2016 18:19:41 -0400 Subject: 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 --- pkgs/development/tools/documentation/doxygen/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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 = { -- cgit 1.4.1