tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openjdk8: add the architecture passthru from openjdk7
Bryan Gardiner
10 years ago
4140c7fe
54ced3be
+16
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
openjdk
8.nix
+16
-1
pkgs/development/compilers/openjdk/8.nix
···
5
5
}:
6
6
7
7
let
8
8
+
9
9
+
/**
10
10
+
* The JRE libraries are in directories that depend on the CPU.
11
11
+
*/
12
12
+
architecture =
13
13
+
if stdenv.system == "i686-linux" then
14
14
+
"i386"
15
15
+
else if stdenv.system == "x86_64-linux" then
16
16
+
"amd64"
17
17
+
else
18
18
+
throw "openjdk requires i686-linux or x86_64 linux";
19
19
+
8
20
update = "60";
9
21
build = "24";
10
22
baseurl = "http://hg.openjdk.java.net/jdk8u/jdk8u";
···
204
216
platforms = platforms.linux;
205
217
};
206
218
207
207
-
passthru.home = "${openjdk8}/lib/openjdk";
219
219
+
passthru = {
220
220
+
inherit architecture;
221
221
+
home = "${openjdk8}/lib/openjdk";
222
222
+
};
208
223
};
209
224
in openjdk8