Merge pull request #287323 from wegank/openjdk-15-darwin

javaPackages: assert stdenv.isLinux in mkOpenjdkLinuxOnly
This commit is contained in:
Weijia Wang 2024-02-09 18:37:21 +01:00 committed by GitHub
commit a3ac416452
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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; };
};