mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #287323 from wegank/openjdk-15-darwin
javaPackages: assert stdenv.isLinux in mkOpenjdkLinuxOnly
This commit is contained in:
commit
a3ac416452
@ -62,7 +62,7 @@ in {
|
||||
|
||||
mkOpenjdkLinuxOnly = path-linux: args: let
|
||||
openjdk = callPackage path-linux (gnomeArgs // args);
|
||||
in openjdk // {
|
||||
in assert stdenv.isLinux; openjdk // {
|
||||
headless = openjdk.override { headless = true; };
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user