lol

cairomm: fix on darwin

+6 -3
+6 -3
pkgs/development/libraries/cairomm/default.nix
··· 1 - { fetchurl, stdenv, pkgconfig, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }: 1 + { fetchurl, stdenv, pkgconfig, darwin, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }: 2 2 let 3 3 ver_maj = "1.12"; 4 4 ver_min = "0"; ··· 13 13 14 14 nativeBuildInputs = [ pkgconfig ]; 15 15 propagatedBuildInputs = [ cairo libsigcxx ]; 16 - buildInputs = [ fontconfig freetype ]; 16 + buildInputs = [ fontconfig freetype ] 17 + ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 18 + ApplicationServices 19 + ]); 17 20 18 21 doCheck = true; 19 22 ··· 35 38 homepage = http://cairographics.org/; 36 39 37 40 license = with licenses; [ lgpl2Plus mpl10 ]; 38 - platforms = platforms.linux; 41 + platforms = platforms.unix; 39 42 }; 40 43 }