Commit Graph

55 Commits

Author SHA1 Message Date
Arne Keller
c66de3821c temurin-{,jre-}bin-26: init at 26.0.1 (#506356) 2026-05-31 14:25:16 +00:00
SirYwell
243558acc5 temurin-{,jre-}bin-26: init at 26.0.1
Co-authored-by: Matt McHenry <github@matt.mchenryfamily.org>
2026-05-31 11:11:36 +02:00
Ryan Omasta
fe638cb0df temurin-{,jre-}bin-{8,11,17,21,25}: update 2026-05-14 18:19:03 -06:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Galder Zamarreño
1c68856fbc temurin-{,jre-}bin-23: drop
Co-Authored-By: Leona Maroni <dev@leona.is>
2025-11-04 15:36:19 +01:00
Tom van Dijk
47513a1990 temurin-{,jre-}bin-24: drop, open{jdk,jfx}24: drop 2025-10-06 18:01:59 +02:00
K900
f8d669f413 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-04 21:10:21 +03:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
nixpkgs-ci[bot]
595dedae63 Merge master into staging-next 2025-09-26 00:15:56 +00:00
Sean Gilligan
08459e12e0 temurin-bin-25: add '25' to feature_versions 2025-09-25 13:43:47 -07:00
Sean Gilligan
129b555851 temurin-bin: Updates to 8, 11, 17, 21, 24
Running ./generate-sources.py updates 5 versions

8.0.452 --> 8.0.462
11.0.27 -> 11.0.28
17.0.15 -> 17.0.16
21.0.7 -> 21.0.8
24.0.1 -> 24.0.2

(rebased to staging)
2025-09-19 08:42:43 -07:00
Sean Gilligan
e8c4475cb4 temurin-bin: fix typo in generate-sources.py 2025-09-19 08:26:10 -07:00
jopejoe1
61d0373a40 lib.licenses: replace classpath license with exception
The GPL-2.0-with-classpath-exception is deprecated in spdx and the exception Classpath-exception-2.0 should be used instead.
Other Classpath license hace also benn replaced with it.
2025-08-31 16:19:22 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Galder Zamarreño
77dda472eb temurin-{,jre-}bin-{8,11,17,24}: update 2025-05-08 18:43:26 +02:00
Arne Keller
8068b83e28 temurin-{,jre-}bin-24: init at 24.0.0 (#397042) 2025-04-29 08:34:53 +02:00
Galder Zamarreño
f06ca88676 temurin-{,jre-}bin-24: init at 24.0.0 2025-04-29 06:49:36 +02:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Sam
fb14d786b3 temurin-bin: convert to finalAttrs.finalPackage 2025-03-14 19:15:11 -07:00
Sam
76e6a5cce4 treewide: produce darwin JDK bundles at a consistent path 2025-03-14 19:15:11 -07:00
Sam
1c0e0489bf treewide: set bundle attribute on all darwin JDKs 2025-03-14 19:04:00 -07:00
misilelaboratory
7055614287 temurin-bin: minor updates
Signed-off-by: misilelaboratory <misileminecord@gmail.com>
2025-02-10 18:21:45 +09:00
Arnout Engelen
becb2fa152 temurin-bin: minor updates
as generated with ./generate-sources.py
2024-12-27 18:45:19 +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
Tomo
c04d7170e0 team-list: establish java team
As discussed in #jdk:nixos.org on Matrix, the maintainers of the
Java ecosystem in Nixpkgs feel that a team for Java would be helpful.
2024-11-09 18:26:59 +00:00
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Emily
d19c7e8b16 temurin-{,jre-}bin-22: drop 2024-09-26 16:46:04 +01:00
Emily
3da3ed012b temurin-{,jre-}bin-23: init at 23.0.0 2024-09-26 11:58:47 +01:00
Emily
6da99f23d5 temurin-{,jre-}bin-{8,11,17,21,22}: update 2024-09-26 11:58:47 +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
seth
dfa73af57d temurin-bin: support riscv64-linux 2024-08-30 00:18:32 -04:00
Emily
4f93a66908 {{temurin,semeru{,-jre}}-bin-16,temurin{,-jre}-bin-{18,19,20}}: drop
These have all been end‐of‐life for more than 10 months.
2024-08-01 13:46:59 +01:00
Infinidoge
7717ee97b6 temurin-bin: update sources 2024-05-26 04:48:28 -04:00
Infinidoge
d9b2c5cff8 temurin-bin: formatting fixes 2024-05-26 04:48:28 -04:00
Infinidoge
2dea579e3e temurin-bin: mark EOL releases as vulnerable 2024-05-26 04:48:28 -04:00
Infinidoge
64073966b4 temurin-bin: init at 22 2024-05-26 04:48:28 -04:00
Philip Taron
713d2074d6 temurin-bin: fix issue with 1-tuple impls
In Python, a parenthesized expression is a tuple iff there is a comma
between the parentheses. In order to have a 1-tuple, we need one more
comma.
2024-05-26 04:48:27 -04:00
annalee
0d7dc0efc5 treewide: throw on unsupported system src access 2024-04-05 02:30:42 +00:00
linsui
9823f42308 temurin-bin: set sourceProvenance 2023-12-18 22:24:53 +08:00
Infinidoge
d849c98d87 temurin-bin: init at 21 2023-10-25 09:39:42 -04:00
Infinidoge
aebe909b68 temurin-bin: update sources 2023-10-25 09:38:47 -04:00
sohalt
f1aea50754 temurin-bin: init 20.0.1 2023-07-02 07:51:52 +08:00
sohalt
3e01bd323b temurin-bin/sources.json: regenerate 2023-07-02 07:51:52 +08:00
Sandro Jäckel
e0c22ecf8e javaPackages: cleanup unused code 2023-04-14 22:23:39 -03:00
Artturi
c7e842df16 Merge pull request #209089 from amjoseph-nixpkgs/pr/temurin-bin/powerpc64le 2023-01-06 20:33:42 +02:00
Adam Joseph
549c82db11 temurin-bin/sources.json: regenerate 2023-01-04 13:02:52 -08:00
Adam Joseph
7361d240a8 temurin-bin/generate-sources.py: add ppc64le to rosetta stone 2023-01-04 13:02:46 -08:00
sternenseemann
b711b52d15 jre, temurin-bin: fix eval in pkgsCross.ghcjs.buildPackages
Since #200337 gobject-introspection propagates itself via
depsTargetTargetPropagated, so one doesn't have to add it to every
derivation twice. The problem is that gobject-introspection still is in
a lot of buildInputs and will thus propagate itself again for target,
breaking evaluation unnecessarily if gobject-introspection doesn't
evaluate on whatever the target platform turns out to be.

temurin-bin and openjdk19 caused such a situation via gtk3 which GHC's
JavaScript backend depends on. To fix evaluation of those packages in
pkgsCross.ghcjs.buildPackages, we'll just disable the features pulling
in gtk3 until this is fixed properly.
2023-01-04 00:02:29 +01:00
Matt McHenry
0e33de85ae temurin-bin: init 18.0.2 and 19.0.1 2022-11-05 21:51:00 -04:00