mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/java: format with nixfmt-rfc-style
This commit is contained in:
parent
8ccdb34f50
commit
5bb480bf8f
1 changed files with 7 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue