ruby19: fix build via a patch-level update
This commit is contained in:
parent
4c62d0d144
commit
d7be1e84d0
@ -14,12 +14,12 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = with passthru; "${majorVersion}.${minorVersion}-p${patchLevel}";
|
version = with passthru; "${majorVersion}.${minorVersion}-p${patchLevel}";
|
||||||
|
|
||||||
name = "ruby-${version}";
|
name = "ruby-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.bz2";
|
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.bz2";
|
||||||
sha256 = "1ymq5lhp3fz0j3cs65521aihcnivbfrn76in900ccxd0msgfmld9";
|
sha256 = "14c3lp9w7hq3jcmbakw2ngrzd7c81fgqm6skpxwni5k2vzgk8wss";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ (op yamlSupport libyaml);
|
++ (op yamlSupport libyaml);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
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";
|
||||||
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
passthru = rec {
|
passthru = rec {
|
||||||
majorVersion = "1.9";
|
majorVersion = "1.9";
|
||||||
minorVersion = "3";
|
minorVersion = "3";
|
||||||
patchLevel = "194";
|
patchLevel = "392";
|
||||||
libPath = "lib/ruby/${majorVersion}";
|
libPath = "lib/ruby/${majorVersion}";
|
||||||
gemPath = "lib/ruby/gems/${majorVersion}";
|
gemPath = "lib/ruby/gems/${majorVersion}";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user