mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
nixos/java: format with nixfmt-rfc-style
This commit is contained in:
parent
8ccdb34f50
commit
5bb480bf8f
@ -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";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user