ruby: Fix URL and enable parallel building
This commit is contained in:
parent
be48fe265a
commit
baf5e27aaf
@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
name = "ruby-${version}";
|
name = "ruby-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.gz";
|
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.bz2";
|
||||||
sha256 = "1fyq9g7khm45mfs1vyg0grbcgsr2zv8jkifdv4dxbzkyps0gmqj6";
|
sha256 = "1ymq5lhp3fz0j3cs65521aihcnivbfrn76in900ccxd0msgfmld9";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
||||||
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
|
|||||||
++ (op gdbmSupport gdbm)
|
++ (op gdbmSupport gdbm)
|
||||||
++ (op yamlSupport libyaml);
|
++ (op yamlSupport libyaml);
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = ["--enable-shared" "--enable-pthread"];
|
configureFlags = ["--enable-shared" "--enable-pthread"];
|
||||||
|
|
||||||
installFlags = stdenv.lib.optionalString docSupport "install-doc";
|
installFlags = stdenv.lib.optionalString docSupport "install-doc";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user