mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #318742 from jlesquembre/jl/jdk-remove-let
openjdk22: remove redundant let binding
This commit is contained in:
commit
be3e244369
@ -59,8 +59,9 @@ let
|
||||
|
||||
# when building a headless jdk, also bootstrap it with a headless jdk
|
||||
openjdk-bootstrap = openjdk22-bootstrap.override { gtkSupport = !headless; };
|
||||
in
|
||||
|
||||
openjdk = stdenv.mkDerivation (finalAttrs: {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "openjdk" + lib.optionalString headless "-headless";
|
||||
inherit version;
|
||||
|
||||
@ -272,6 +273,4 @@ let
|
||||
|
||||
inherit gtk3;
|
||||
};
|
||||
});
|
||||
in
|
||||
openjdk
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user