forked from mirrors/nixpkgs
pango on darwin: attempt to fix build
Supply older flex (new doesn't build), and disable introspection.
This commit is contained in:
parent
8aa84644f9
commit
297bcd2088
|
@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "08aqis6j8nd1lb4f2h4h9d9kjvp54iwf8zvqzss0qn4v7nfcjyvx";
|
||||
};
|
||||
|
||||
buildInputs = [ gobjectIntrospection ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ gettext fontconfig ];
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
optional (!stdenv.isDarwin) gobjectIntrospection # build problems
|
||||
++ optionals stdenv.isDarwin [ gettext fontconfig ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
|
|
@ -4564,7 +4564,9 @@ let
|
|||
};
|
||||
cairomm = callPackage ../development/libraries/cairomm { };
|
||||
|
||||
pango = callPackage ../development/libraries/pango { };
|
||||
pango = callPackage ../development/libraries/pango (
|
||||
lib.optionalAttrs stdenv.isDarwin { flex = flex_2_5_35; } # flex fails to build
|
||||
);
|
||||
pangomm = callPackage ../development/libraries/pangomm { };
|
||||
|
||||
pangox_compat = callPackage ../development/libraries/pangox-compat { };
|
||||
|
|
Loading…
Reference in a new issue