nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 gradle_9,
4 jdk25,
5 lib,
6 stdenv,
7 rsync,
8 pandoc,
9 runCommand,
10 testers,
11}:
12
13let
14 corretto = import ./mk-corretto.nix rec {
15 inherit
16 lib
17 stdenv
18 rsync
19 runCommand
20 testers
21 ;
22 jdk = jdk25;
23 gradle = gradle_9;
24 version = "25.0.1.9.1";
25 src = fetchFromGitHub {
26 owner = "corretto";
27 repo = "corretto-25";
28 rev = version;
29 hash = "sha256-eAjepqxp5LVQgP/HcxwwdjbXxy5jUOJC4HYntcHNX0o=";
30 };
31 extraNativeBuildInputs = [ pandoc ];
32 };
33in
34corretto.overrideAttrs (
35 final: prev: {
36 patches = (prev.patches or [ ]) ++ [
37 # See patches in openjdk/generic.nix.
38 ./remove_removal_of_wformat_during_test_compilation.patch
39 ];
40 }
41)