1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

librevenge: fix on Darwin

This commit is contained in:
Spencer Whitt 2015-04-07 21:14:24 -04:00
parent 5e62ac5501
commit 2180d95937

View file

@ -19,11 +19,18 @@ stdenv.mkDerivation {
src = fetchurl {
inherit (s) url sha256;
};
# Clang generates warnings in Boost's header files
# -Werror causes these warnings to be interpreted as errors
# Simplest solution: disable -Werror
configureFlags = if (stdenv.cc.cc.isClang or false)
then [ "--disable-werror" ] else null;
meta = {
inherit (s) version;
description = ''A base library for writing document import filters'';
license = stdenv.lib.licenses.mpl20 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
};
}