Skip to content

Commit

Permalink
add darwin.libobjc to some ruby gems that need it
Browse files Browse the repository at this point in the history
  • Loading branch information
Jude Taylor committed Oct 1, 2015
1 parent e9fcbe6 commit 83a5cfb
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{ lib, fetchurl, writeScript, ruby, libxml2, libxslt, python, stdenv, which
, libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick
, pkgconfig , ncurses, xapian, gpgme, utillinux, fetchpatch, tzdata, icu, libffi
, cmake, libssh2, openssl, mysql
, cmake, libssh2, openssl, mysql, darwin
}:

let
Expand Down Expand Up @@ -70,6 +70,7 @@ in
"--with-exslt-lib=${libxslt}/lib"
"--with-exslt-include=${libxslt}/include"
] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
};

pg = attrs: {
Expand Down Expand Up @@ -119,6 +120,10 @@ in
'';
};

unf_ext = attrs: {
buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
};

xapian-ruby = attrs: {
# use the system xapian
buildInputs = [ xapian pkgconfig zlib ];
Expand Down

0 comments on commit 83a5cfb

Please sign in to comment.