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:
parent
5e62ac5501
commit
2180d95937
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue