diff options
author | Johannes Bornhold <johannes@bornhold.name> | 2016-12-23 22:16:02 +0100 |
---|---|---|
committer | Johannes Bornhold <johannes@bornhold.name> | 2017-01-07 17:31:10 +0100 |
commit | 9f31633a5006c511c97df77dcc025138b4c38e48 (patch) | |
tree | 4b91456098f65c842ded60474f8857c7c2dcaeb2 /pkgs | |
parent | 354c91df2e40e2f61719e33b7186fe089d2219e7 (diff) | |
download | nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.tar nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.tar.gz nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.tar.bz2 nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.tar.lz nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.tar.xz nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.tar.zst nixpkgs-9f31633a5006c511c97df77dcc025138b4c38e48.zip |
librsvg: Add framework ApplicationServices for darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/librsvg/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/librsvg/default.nix b/pkgs/development/libraries/librsvg/default.nix index 409307fb52b..ebd0f79cd47 100644 --- a/pkgs/development/libraries/librsvg/default.nix +++ b/pkgs/development/libraries/librsvg/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, pango, cairo, libxml2, libgsf -, bzip2, libcroco, libintlOrEmpty +, bzip2, libcroco, libintlOrEmpty, darwin , withGTK ? false, gtk3 ? null , gobjectIntrospection ? null, enableIntrospection ? false }: @@ -22,7 +22,10 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ glib gdk_pixbuf cairo ] ++ lib.optional withGTK gtk3; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig ] + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ + ApplicationServices + ]); configureFlags = [ "--enable-introspection=auto" ] ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic"; |