Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions pkgs/development/interpreters/ruby/ruby-19.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ stdenv.mkDerivation rec {
++ (op zlibSupport zlib)
++ (op opensslSupport openssl)
++ (op gdbmSupport gdbm)
++ (op yamlSupport libyaml);
++ (op yamlSupport libyaml)
# Looks like ruby fails to build on darwin without readline even if curses
# support is not enabled, so add readline to the build inputs if curses
# support is disabled (if it's enabled, we already have it) and we're
# running on darwin
++ (op (!cursesSupport && stdenv.isDarwin) readline);

enableParallelBuilding = true;
patches = [ ./ruby19-parallel-install.patch ];
Expand All @@ -42,10 +47,11 @@ stdenv.mkDerivation rec {
postInstall = "mkdir -pv $out/${passthru.gemPath}";

meta = {
license = "Ruby";
homepage = "http://www.ruby-lang.org/en/";
license = "Ruby";
homepage = "http://www.ruby-lang.org/en/";
description = "The Ruby language";
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
platforms = stdenv.lib.platforms.all;
};

passthru = rec {
Expand Down