3
0
Fork 0
forked from mirrors/nixpkgs

gem-config: fix capybara-webkit on Darwin

This commit is contained in:
Alyssa Ross 2018-07-25 17:28:24 +01:00
parent a0383ffec8
commit 14e5e8a15a
No known key found for this signature in database
GPG key ID: C4844408C0657052

View file

@ -22,7 +22,7 @@
, pkgconfig , ncurses, xapian_1_2_22, gpgme, utillinux, fetchpatch, tzdata, icu, libffi
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
, libmsgpack, qt48, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
, cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick
, cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick, libcxx
}@args:
let
@ -69,7 +69,8 @@ in
};
capybara-webkit = attrs: {
buildInputs = [ qt48 ];
buildInputs = [ qt48 ] ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
};
charlock_holmes = attrs: {