1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

openjdk: Fix typo in the version

This commit is contained in:
Eelco Dolstra 2012-11-29 16:32:37 +01:00
parent 38e847ff19
commit bce3c6db7e

View file

@ -39,13 +39,15 @@ let
else
throw "openjdk requires i686-linux or x86_64 linux";
build = "147";
in
stdenv.mkDerivation rec {
name = "openj${if jreOnly then "re" else "dk"}-7b127";
name = "openj${if jreOnly then "re" else "dk"}-7b${build}";
src = fetchurl {
url = http://www.java.net/download/openjdk/jdk7/promoted/b147/openjdk-7-fcs-src-b147-27_jun_2011.zip;
url = "http://www.java.net/download/openjdk/jdk7/promoted/b${build}/openjdk-7-fcs-src-b${build}-27_jun_2011.zip";
sha256 = "1qhwlz9y5qmwmja4qnxg6sn3pgsg1i11fb9j41w8l26acyhk34rs";
};
@ -126,7 +128,7 @@ stdenv.mkDerivation rec {
"FREETYPE_HEADERS_PATH=${freetype}/include"
"FREETYPE_LIB_PATH=${freetype}/lib"
"MILESTONE=release"
"BUILD_NUMBER=b127"
"BUILD_NUMBER=b${build}"
"CUPS_HEADERS_PATH=${cups}/include"
"USRBIN_PATH="
"COMPILER_PATH="