about summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-10-01 13:30:23 -0700
committerJude Taylor <me@jude.bio>2015-10-01 13:30:30 -0700
commit83a5cfb260e22027b0b9d4736f9b6ed127355864 (patch)
tree91f6a3362166d4f77bc409f0519adad3fbddc616 /pkgs/development/interpreters
parente9fcbe67b09fd21395e10a19b967f8add0127018 (diff)
downloadnixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.tar
nixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.tar.gz
nixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.tar.bz2
nixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.tar.lz
nixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.tar.xz
nixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.tar.zst
nixlib-83a5cfb260e22027b0b9d4736f9b6ed127355864.zip
add darwin.libobjc to some ruby gems that need it
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix b/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
index b4e04f6ec904..3ae74057a54f 100644
--- a/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
+++ b/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
@@ -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
@@ -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: {
@@ -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 ];