diff --git a/nixos/modules/programs/java.nix b/nixos/modules/programs/java.nix index 784add809682..24f72b206fdc 100644 --- a/nixos/modules/programs/java.nix +++ b/nixos/modules/programs/java.nix @@ -1,7 +1,12 @@ # This module provides JAVA_HOME, with a different way to install java # system-wide. -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.programs.java; @@ -28,9 +33,7 @@ in ''; }; - package = lib.mkPackageOption pkgs "jdk" { - example = "jre"; - }; + package = lib.mkPackageOption pkgs "jdk" { example = "jre"; }; binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes";