git.iko.soy/typeable/nixpkgs
on master help sign in
librevenge: fix on Darwin
commit2180d9593766ab240f12818027783a7465be6b04 authorSpencer Whitt <sw@swhitt.me> dateTue 7 Apr 2015, 21:14 (12 years ago) parent5e62ac5
1 file changed+8−1
pkgs/development/libraries/librevenge/default.nix+8−1
pkgs/development/libraries/librevenge/default.nix+8−1
@@ -19,11 +19,18 @@ stdenv.mkDerivation {
1919 src = fetchurl {
2020 inherit (s) url sha256;
2121 };
22+
23+ # Clang generates warnings in Boost's header files
24+ # -Werror causes these warnings to be interpreted as errors
25+ # Simplest solution: disable -Werror
26+ configureFlags = if (stdenv.cc.cc.isClang or false)
27+ then [ "--disable-werror" ] else null;
28+
2229 meta = {
2330 inherit (s) version;
2431 description = ''A base library for writing document import filters'';
2532 license = stdenv.lib.licenses.mpl20 ;
2633 maintainers = [stdenv.lib.maintainers.raskin];
27− platforms = stdenv.lib.platforms.linux;
34+ platforms = stdenv.lib.platforms.unix;
2835 };
2936}