We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ccdb34 commit 5bb480bCopy full SHA for 5bb480b
nixos/modules/programs/java.nix
@@ -1,7 +1,12 @@
1
# This module provides JAVA_HOME, with a different way to install java
2
# system-wide.
3
4
-{ config, lib, pkgs, ... }:
+{
5
+ config,
6
+ lib,
7
+ pkgs,
8
+ ...
9
+}:
10
11
let
12
cfg = config.programs.java;
@@ -28,9 +33,7 @@ in
28
33
'';
29
34
};
30
35
31
- package = lib.mkPackageOption pkgs "jdk" {
32
- example = "jre";
- };
36
+ package = lib.mkPackageOption pkgs "jdk" { example = "jre"; };
37
38
binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes";
39
0 commit comments