diff options
author | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-06-18 13:19:36 +1000 |
---|---|---|
committer | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-06-18 13:59:00 +1000 |
commit | 02eef5b0f45c614dd30ac515a7ffc16c550e17eb (patch) | |
tree | a9b0e76f9d5db5dfa356722123c53978aba7a369 /pkgs/development/interpreters/ruby | |
parent | 88eff1efac1f848089df11422192e3b0cc3447b5 (diff) | |
download | nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.tar nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.tar.gz nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.tar.bz2 nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.tar.lz nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.tar.xz nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.tar.zst nixlib-02eef5b0f45c614dd30ac515a7ffc16c550e17eb.zip |
ruby-1.9: disable tk when compiling on darwin
Diffstat (limited to 'pkgs/development/interpreters/ruby')
-rw-r--r-- | pkgs/development/interpreters/ruby/ruby-19.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/ruby/ruby-19.nix b/pkgs/development/interpreters/ruby/ruby-19.nix index 090bb0c1bce7..afe9066dd081 100644 --- a/pkgs/development/interpreters/ruby/ruby-19.nix +++ b/pkgs/development/interpreters/ruby/ruby-19.nix @@ -40,7 +40,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; patches = [ ./ruby19-parallel-install.patch ]; - configureFlags = ["--enable-shared" "--enable-pthread"]; + configureFlags = [ "--enable-shared" "--enable-pthread" ] + # on darwin, we have /usr/include/tk.h -- so the configure script detects + # that tk is installed + ++ ( if stdenv.isDarwin then [ "--with-out-ext=tk " ] else [ ]); installFlags = stdenv.lib.optionalString docSupport "install-doc"; # Bundler tries to create this directory |