openjdk: passthru the architecture attribute like oracle jdk6 does.

This commit is contained in:
Shea Levy
2012-08-27 12:41:13 -04:00
parent dc4cfe89ff
commit f4bc57feba
2 changed files with 18 additions and 1 deletions
@@ -1,6 +1,6 @@
{ runCommand, openjdk, nukeReferences }:
let arch = if openjdk.system == "x86_64-linux" then "amd64" else "i386"; in
let arch = openjdk.architecture; in
runCommand "${openjdk.name}-bootstrap.tar.xz" {} ''
mkdir -p openjdk-bootstrap/bin