mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Make the "openjdk7" attribute work on Darwin
This commit is contained in:
parent
acd97de64d
commit
ef490c6b14
@ -4135,17 +4135,19 @@ let
|
|||||||
|
|
||||||
path64 = callPackage ../development/compilers/path64 { };
|
path64 = callPackage ../development/compilers/path64 { };
|
||||||
|
|
||||||
openjdk-darwin = callPackage ../development/compilers/openjdk-darwin { };
|
openjdk7 =
|
||||||
|
if stdenv.isDarwin then
|
||||||
openjdk7 = callPackage ../development/compilers/openjdk/7.nix {
|
callPackage ../development/compilers/openjdk-darwin { }
|
||||||
bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "7"; };
|
else
|
||||||
};
|
callPackage ../development/compilers/openjdk/7.nix {
|
||||||
|
bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "7"; };
|
||||||
|
};
|
||||||
|
|
||||||
openjdk8 = callPackage ../development/compilers/openjdk/8.nix {
|
openjdk8 = callPackage ../development/compilers/openjdk/8.nix {
|
||||||
bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "8"; };
|
bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "8"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
openjdk = if stdenv.isDarwin then openjdk-darwin else openjdk8;
|
openjdk = if stdenv.isDarwin then openjdk7 else openjdk8;
|
||||||
|
|
||||||
jdk7 = openjdk7 // { outputs = [ "out" ]; };
|
jdk7 = openjdk7 // { outputs = [ "out" ]; };
|
||||||
jre7 = lib.setName "openjre-${lib.getVersion pkgs.openjdk7.jre}" (openjdk7.jre // { outputs = [ "jre" ]; });
|
jre7 = lib.setName "openjre-${lib.getVersion pkgs.openjdk7.jre}" (openjdk7.jre // { outputs = [ "jre" ]; });
|
||||||
|
Loading…
Reference in New Issue
Block a user