nixos/java: Java team ownership, format with nixfmt-rfc-style (#358840)

This commit is contained in:
Silvan Mosberger 2024-11-25 00:25:37 +01:00 committed by GitHub
commit 658159e0cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View File

@ -218,6 +218,7 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt
/doc/languages-frameworks/java.section.md @NixOS/java /doc/languages-frameworks/java.section.md @NixOS/java
/doc/languages-frameworks/gradle.section.md @NixOS/java /doc/languages-frameworks/gradle.section.md @NixOS/java
/doc/languages-frameworks/maven.section.md @NixOS/java /doc/languages-frameworks/maven.section.md @NixOS/java
/nixos/modules/programs/java.nix @NixOS/java
/pkgs/top-level/java-packages.nix @NixOS/java /pkgs/top-level/java-packages.nix @NixOS/java
# Jetbrains # Jetbrains

View File

@ -1,7 +1,12 @@
# This module provides JAVA_HOME, with a different way to install java # This module provides JAVA_HOME, with a different way to install java
# system-wide. # system-wide.
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
let let
cfg = config.programs.java; cfg = config.programs.java;
@ -28,9 +33,7 @@ in
''; '';
}; };
package = lib.mkPackageOption pkgs "jdk" { package = lib.mkPackageOption pkgs "jdk" { example = "jre"; };
example = "jre";
};
binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes"; binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes";