Commit Graph

82 Commits

Author SHA1 Message Date
Martin Weinelt
e393b159ea openjdk: drop gtk2 support 2026-07-22 22:40:48 +02:00
Rolf Schröder
cdce1070e8 corretto25: init at 25.0.1.9.1 2026-01-16 10:57:12 +01:00
Galder Zamarreño
cfafc746ea openjfx23: drop 2025-11-04 15:36:51 +01:00
Galder Zamarreño
058600cf06 openjdk23{,_headless}: drop
Co-Authored-By: Leona Maroni <dev@leona.is>
2025-11-04 15:36:43 +01:00
Aliaksandr
03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
jopejoe1
ca0f1b7b98 various: eval more package sets 2025-10-24 21:03:03 +02:00
Tom van Dijk
47513a1990 temurin-{,jre-}bin-24: drop, open{jdk,jfx}24: drop 2025-10-06 18:01:59 +02:00
Marie Ramlow
1a86e6aba9 openjdk25: init at 25+36 2025-09-26 15:13:35 +02:00
Tom van Dijk
71dd692741 openjdk24: init at 24+36 2025-05-05 11:40:47 +02:00
sternenseemann
a653ffe425 javaPackages: remove path interpolation syntax
Path interpolation is not supported in the minimum Nix version nixpkgs
maintains support for.
2025-04-12 13:26:10 +02:00
jopejoe1
0f1c7f59ab javaPackages.compilers: fix eval 2025-04-08 12:16:13 +02:00
Sandro Jäckel
d1ad3425f9 semeru,temurin: also fix meta similar to jdk 2025-03-14 15:43:43 +01:00
Sandro Jäckel
d7f9effeff java-packages: simplify code 2025-03-14 15:43:43 +01:00
Sandro Jäckel
7ab2c04f18 jdk: combine meta.platforms of both packages to fix hydra builds for dependent packages 2025-03-13 20:46:41 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Emily
0f3ba89b2a javaPackages.openjdk{8,11,17}-bootstrap: fix eval on Darwin 2024-10-25 13:32:47 +01:00
Emily
f2569008ab openjfx{17,21,23}: move to pkgs/by-name 2024-10-24 15:04:56 +01:00
Emily
f05216c373 openjfx{17,21,23}: deduplicate into generic.nix 2024-10-24 15:04:56 +01:00
Emily
9bad08529e openjdk{8,11,17,21,23}: deduplicate into generic.nix 2024-10-24 15:04:55 +01:00
Emily
85faae5e12 Merge staging-next into staging 2024-10-08 01:24:14 +01:00
Emily
c979637f24 openjfx11: drop
OpenJFX 11 reached end‐of‐life in 2023.
2024-10-07 20:22:30 +01:00
Emily
732642b891 {openjdk,openjfx}22: drop 2024-09-26 16:46:04 +01:00
Emily
00a8a1c7f3 {openjdk,openjfx}23: init at 23-ga 2024-09-26 16:46:04 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Emily
43fe9d2bbc {javaPackages.compiler.openjdk18,corretto19,open{jdk,jfx}{19,20}*}: drop
These have all been end‐of‐life for more than 10 months.
2024-08-01 13:29:26 +01:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
chayleaf
27d8261b6d openjfx: move derivations into separate dirs 2024-07-12 21:36:11 +07:00
Infinidoge
535dd96948 openjdk: remove adoptopenjdk-bin, openjdk 12/13/14/15/16
AdoptOpenJDK is a long-deprecated project, having been superceded by
Eclipse Temurin quite a while ago. Additionally, after running the
generate sources command, many of its subpackages fail to evaluate due
to missing binaries for versions the package expects. Because everything
provided by AdoptOpenJDK is either long-deprecated or also provided by
Temurin, its removal should not cause many problems.

By the same token, OpenJDK 12, 13, 14, 15, and 16 have also all been long
deemed EOL, and 13/14 are both actively broken and fail to build. These
packages, and their associated (and unnecessary) bootstrap chain are a
major factor in the tech debt of OpenJDK as an ecosystem in Nixpkgs.

OpenJDK 16 was the only user of OpenJFX 15, so it has also been removed.

By removing these packages, OpenJDK should hopefully be more
maintainable into the future.
2024-07-11 14:53:27 -04:00
Sandro
7a329a89de Merge pull request #322599 from jtojnar/java-gnome2-drop
openjdk: remove gnome_vfs & GConf
2024-07-03 00:30:11 +02:00
Jan Tojnar
dbd9745e11 openjdk: remove gnome_vfs & GConf
Those libraries have been deprecated for 10+ years and require daemons
that no-one has running these days.

Keep the `enableGnome2` argument for BC.
2024-06-26 10:28:29 +02:00
Infinidoge
64073966b4 temurin-bin: init at 22 2024-05-26 04:48:28 -04:00
Artturi
28668355df Merge pull request #306922 from rollf/corretto21
corretto21: init at 21.0.3.9.1
2024-04-27 03:36:59 +03:00
Rolf Schröder
0cd0fe654e corretto21: init at 21.0.3.9.1 2024-04-26 09:10:42 +02:00
Weijia Wang
56ed765f9c Merge pull request #295440 from jlesquembre/jl/jdk22
openjdk22: init at 22+36
2024-03-25 16:16:48 +01:00
José Luis Lafuente
d7c54882e6 openjdk22: init at 22+36 2024-03-25 14:41:55 +01:00
Weijia Wang
111dd2ed97 openjdk16: make linux-only 2024-03-11 00:42:42 +01:00
Weijia Wang
b95f9bd48c javaPackages.jogl_2_4_0: rename to jogl 2024-02-10 18:00:38 +01:00
Weijia Wang
e4a9ddcc17 javaPackages: assert stdenv.isLinux in mkOpenjdkLinuxOnly 2024-02-08 23:09:43 +01:00
Weijia Wang
c2b359cd1f javaPackages.mavenfod: drop 2024-02-06 16:05:49 +01:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
Adam Joseph
310cda5a0c mkAdoptopenjdk: allow missing {jre,jdk}-openj9 attribute 2023-11-30 09:36:06 +01:00
Artturi
397d67a60d Merge pull request #263736 from rollf/amazon-corretto
corretto{11,17,19}: init at 11.0.20.9.1/17.0.8.8.1/19.0.2.7.1
2023-11-24 14:24:38 +02:00
Rolf Schröder
3cd0e6f2d3 corretto{11,17,19}: init at 11.0.20.9.1/17.0.8.8.1/19.0.2.7.1 2023-11-22 21:04:36 +01:00
Infinidoge
d849c98d87 temurin-bin: init at 21 2023-10-25 09:39:42 -04:00
Weijia Wang
18c9af9f37 zulu21: deduplicate expressions 2023-10-08 23:15:19 +02:00
Infinidoge
82c294f13a openjdk21, openjfx21: init at 21 (#258507)
Uses temurin-bin-20 to bootstrap, as temurin-bin-21 hasn't been released yet
2023-10-08 23:11:55 +02:00
Weijia Wang
2e692b3ddb zulu: add darwin support 2023-10-08 17:34:23 +02:00
Weijia Wang
1667a74168 javaPackages.jogl_2_4_0: add darwin support 2023-08-03 15:33:11 +02:00
Weijia Wang
3b438ab99e javaPackages.jogl_2_3_2: drop 2023-08-03 15:33:11 +02:00
sohalt
eacd9ad04d openjdk: init at 20+36 and openjfx: init at 20+19 2023-07-02 07:52:14 +08:00