diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2015-01-25 16:01:48 -0500 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2015-01-25 16:28:18 -0500 |
commit | 6eaa4199202c905776a8227f1b6a8056ed2686fd (patch) | |
tree | 52b153347deb43440e135536c0217c5fce59b42e /pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix | |
parent | 989a894fc8943271f70d208b584394f54d157eaf (diff) | |
download | nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.tar nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.tar.gz nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.tar.bz2 nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.tar.lz nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.tar.xz nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.tar.zst nixpkgs-6eaa4199202c905776a8227f1b6a8056ed2686fd.zip |
gitlab: fix evaluation
Diffstat (limited to 'pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix')
-rw-r--r-- | pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix | 26 |
1 files changed, 22 insertions, 4 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 d982a071a28..eba2a0b0a10 100644 --- a/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix +++ b/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix @@ -18,16 +18,26 @@ # (to make gems behave if necessary). { lib, fetchurl, writeScript, ruby, libxml2, libxslt, python, stdenv, which -, libiconv, postgresql, v8, v8_3_16_14, clang, sqlite, zlib, imagemagick, pkgconfig -, ncurses, xapian, gpgme, utillinux, fetchpatch, tzdata +, libiconv, postgresql, v8, v8_3_16_14, clang, sqlite, zlib, imagemagick +, pkgconfig , ncurses, xapian, gpgme, utillinux, fetchpatch, tzdata, icu, libffi +, cmake, libssh2, openssl, mysql }: let v8 = v8_3_16_14; + mysql = (import <nixpkgs> {}).mysql; in { + charlock_holmes = attrs: { + buildInputs = [ which icu ]; + }; + + ffi = attrs: { + buildInputs = [ libffi pkgconfig ]; + }; + gpgme = attrs: { buildInputs = [ gpgme ]; }; @@ -46,6 +56,10 @@ in ]; }; + mysql2 = attrs: { + buildInputs = [ mysql zlib openssl ]; + }; + ncursesw = attrs: { buildInputs = [ ncurses ]; buildFlags = [ @@ -77,6 +91,10 @@ in buildInputs = [ imagemagick pkgconfig ]; }; + rugged = attrs: { + buildInputs = [ cmake pkgconfig openssl libssh2 zlib ]; + }; + sqlite3 = attrs: { buildFlags = [ "--with-sqlite3-include=${sqlite}/include" @@ -103,10 +121,10 @@ in ]; }; - tzdata = attrs: { + tzinfo = attrs: { postPatch = '' substituteInPlace lib/tzinfo/zoneinfo_data_source.rb \ - --replace "/etc/zoneinfo" "${tzdata}/share/zoneinfo" + --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" ''; }; |