1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

ruby19: fix build via a patch-level update

This commit is contained in:
Vladimír Čunát 2013-04-10 15:28:54 +02:00
parent 4c62d0d144
commit d7be1e84d0

View file

@ -14,12 +14,12 @@ in
stdenv.mkDerivation rec {
version = with passthru; "${majorVersion}.${minorVersion}-p${patchLevel}";
name = "ruby-${version}";
src = fetchurl {
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.
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
++ (op yamlSupport libyaml);
enableParallelBuilding = true;
configureFlags = ["--enable-shared" "--enable-pthread"];
installFlags = stdenv.lib.optionalString docSupport "install-doc";
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
passthru = rec {
majorVersion = "1.9";
minorVersion = "3";
patchLevel = "194";
patchLevel = "392";
libPath = "lib/ruby/${majorVersion}";
gemPath = "lib/ruby/gems/${majorVersion}";
};