Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: openjdk 21.0.12.1+1 -> 27.0.1.0.3 https://repology.org/project/openjdk/versions
attrpath: openjdk
Checking auto update branch...
[version]
[version] skipping because derivation has updateScript
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/akb72pqgvimindmfvk72f12k9rbv3w7l-packages.json.drv
this path will be fetched (8.1 KiB download, 30.7 KiB unpacked):
/nix/store/5cv5m7fbd82b1x8bc6zywzkrhs5vfdci-nixpkgs-openjdk-updater-0.1.0
copying path '/nix/store/5cv5m7fbd82b1x8bc6zywzkrhs5vfdci-nixpkgs-openjdk-updater-0.1.0' from 'https://cache.nixos.org'...
building '/nix/store/akb72pqgvimindmfvk72f12k9rbv3w7l-packages.json.drv'...
Going to be running update for following packages:
- openjdk-21.0.13.0.2+1
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- openjdk-21.0.13.0.2+1: UPDATING ...
- openjdk-21.0.13.0.2+1: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/development/compilers/openjdk/21/source.json b/pkgs/development/compilers/openjdk/21/source.json
index c64ed8dd5550..3e84f9826b86 100644
--- a/pkgs/development/compilers/openjdk/21/source.json
+++ b/pkgs/development/compilers/openjdk/21/source.json
@@ -1,6 +1,6 @@
{
- "hash": "sha256-IpAIDFoo21ap2hdTxjdN40hZbAE1qDqr6kWlyg83PoQ=",
+ "hash": "sha256-Ja73Yg+HWHdNkW7AQHrzAXEQFD+bWhMo+Y2KvL5EW2o=",
"owner": "openjdk",
"repo": "jdk21u",
- "rev": "refs/tags/jdk-21.0.13.0.2+1"
+ "rev": "refs/tags/jdk-21.0.13.0.3+1"
}
No auto update branch exists
Successfully finished processing
Automatic update generated by [nixpkgs-update](https://github.com/NixOS/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for openjdk is: Open-source Java Development Kit
meta.homepage for openjdk is: https://openjdk.java.net/
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 21.0.13.0.3+1 with grep in /nix/store/kclbg6gx0nkhwppwvaqiii41yavjf49z-openjdk-21.0.13.0.3+1
- found 21.0.13.0.3+1 in filename of file in /nix/store/kclbg6gx0nkhwppwvaqiii41yavjf49z-openjdk-21.0.13.0.3+1
---
Rebuild report (if merged into master) (click to expand)
```
2216 total rebuild path(s)
2201 package rebuild(s)
First fifty rebuilds by attrpath
DisnixWebService
R
aclpubcheck
adapta-gtk-theme
adscan
advi
agi
aider-chat
aider-chat-full
aider-chat-with-bedrock
aider-chat-with-browser
aider-chat-with-help
aider-chat-with-playwright
alan
alchemy
alda
aligator
alloy
alloy5
alloy6
allure
almanah
alpaca
am2rlauncher
amidst
ammonite
ammonite_2_12
ammonite_2_13
ammonite_3_3
android-backup-extractor
android-studio-tools
androidenv.androidPkgs.ndk-bundle
androidenv.test-suite
angr-management
angryipscanner
ani-cli
anilibria-winmaclinux
animeko
anki
ansel
antlr
antlr2
antlr3
antlr3_4
antlr3_5
antlr4
antlr4_10
antlr4_11
antlr4_12
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/kclbg6gx0nkhwppwvaqiii41yavjf49z-openjdk-21.0.13.0.3+1 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nixos.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nixos.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A openjdk https://github.com/r-ryantm/nixpkgs/archive/1c0e6459f8c82eb52db5e887781c7495e692639a.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/1c0e6459f8c82eb52db5e887781c7495e692639a#openjdk
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/kclbg6gx0nkhwppwvaqiii41yavjf49z-openjdk-21.0.13.0.3+1
ls -la /nix/store/kclbg6gx0nkhwppwvaqiii41yavjf49z-openjdk-21.0.13.0.3+1/bin
```
---
### Pre-merge build results
Nixpkgs review skipped
---
###### Maintainer pings
cc @Infinidoge @FliegendeWurst @chayleaf @tomodachi94 @msgilligan for [testing](https://github.com/NixOS/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/584910