Skip to content

Commit

Permalink
cairo: Add ApplicationServices as propagatedBuildInput
Browse files Browse the repository at this point in the history
Noticed that it caused depending packages to fail, like librsvg, imagemagiv, graphviz.
  • Loading branch information
johbo committed Jan 7, 2017
1 parent 8f7adff commit 0f67005
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/cairo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ stdenv.mkDerivation rec {
] ++ libintlOrEmpty ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
CoreGraphics
CoreText
ApplicationServices
Carbon
]);

Expand All @@ -57,6 +56,9 @@ stdenv.mkDerivation rec {
++ optionals xcbSupport [ libxcb xcbutil ]
++ optional gobjectSupport glib
++ optional glSupport mesa_noglu
++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
ApplicationServices
])
; # TODO: maybe liblzo but what would it be for here?

configureFlags = if stdenv.isDarwin then [
Expand Down
7 changes: 2 additions & 5 deletions pkgs/development/libraries/librsvg/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf
, bzip2, libcroco, libintlOrEmpty, darwin
, bzip2, libcroco, libintlOrEmpty
, withGTK ? false, gtk3 ? null
, gobjectIntrospection ? null, enableIntrospection ? false }:

Expand All @@ -22,10 +22,7 @@ stdenv.mkDerivation rec {

propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3;

nativeBuildInputs = [ pkgconfig ]
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
ApplicationServices
]);
nativeBuildInputs = [ pkgconfig ];

configureFlags = [ "--enable-introspection=auto" ]
++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
Expand Down

0 comments on commit 0f67005

Please sign in to comment.