Commit Graph

154 Commits

Author SHA1 Message Date
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
github-actions[bot]
c89d3d9070
Merge master into staging-next 2024-10-31 00:14:46 +00:00
Tomo
e45e0e2b95 gradle_6: drop
Unmaintained since 10 Feb 2023:
https://endoflife.date/gradle

Numerous security vulnerabilities: #352236
2024-10-30 23:37:02 +00:00
github-actions[bot]
32be7227d2
Merge master into staging-next 2024-10-30 06:39:54 +00:00
Tomo
161e9a32c9 gradle_6: mark very insecure
v6 is vulnerable to a number of vulnerabiliites:
* CVE-2021-29429, affecting confidentiality
* CVE-2021-29427, affecting confidentiality and can lead to dependency poisoning
* CVE-2021-29428, a privilege escalation involving the temp dir
* CVE-2021-32751, arbitrary code execution
2024-10-30 00:20:19 +00:00
K900
66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00
Benedikt Ritter
d88011ab4d
gradle: 8.10 -> 8.10.2 2024-10-27 13:58:18 +01:00
K900
f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Paul Meyer
727891d028
gradle: add updateScript (#342041) 2024-10-26 15:08:55 +02:00
Gavin John
fbcfd58125
treewide: specify stdenv in srcOnly calls 2024-09-29 12:51:44 -07:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03: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
Olli Helenius
2cb73cfd62
gradle: add an updateScript
The updater is provided only for the main attribute as it wouldn’t know
how to deal with the earlier major versions.
2024-09-15 13:45:14 +03:00
Olli Helenius
db25e39716
gradle: inherit tests attribute through the wrapper 2024-09-15 13:42:36 +03:00
K900
4e803e9656 Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-12 07:00:07 +03:00
Philip Taron
d1d2419804
treewide: support structuredAttrs in setup hooks (part 3) (#340592) 2024-09-11 12:45:10 -07:00
Olli Helenius
bd244e7a4c
gradle: also patch the native file-events library
It depends on libstdc++, so add that to its RPATH.
2024-09-09 18:21:08 +03:00
Olli Helenius
11692ab62c
gradle: auto-detect nativeVersion
Instead of having to know the version of native-platform at the Nix
level, we use the file `lib/native-platform-<version>.jar` to figure
out the version of the library JAR to patch.
2024-09-09 18:21:05 +03:00
Adam C. Stephens
4ca88b66fe
gradle: 8.8 → 8.10 (#327853) 2024-09-08 18:41:15 -04:00
Wolfgang Walther
e6ca54fded
gradle: support structuredAttrs in setup hook
Tested atlauncher with and without structuredAttrs.
2024-09-08 22:06:42 +02:00
Lorenz Leutgeb
a71e246f87
gradle: 8.8 -> 8.10 2024-09-05 10:02:17 +05:30
Philip Taron
ae92f312bf
treewide: use a consistent meta.priority default 2024-08-29 09:04:57 -07:00
vringar
60b0489ee3 gradle: fix update-deps.sh to use Nix bash
This fixes an issue on non NixOS Linux distributions
where their system bash might be outside of
/tmp, /nix, and /run.

Thanks to @puckipedia for the suggestion
2024-08-02 13:10:57 +02:00
Emily Trau
44619227fe gradle: don't depend on bubblewrap if unused 2024-08-01 16:26:50 +02:00
Peder Bergebakken Sundt
8d0011d981
Merge pull request #329554 from chayleaf/gradle-unwrapped
gradle: expose gradle-unwrapped in passthru
2024-07-28 22:17:40 +02:00
Peder Bergebakken Sundt
99dec1f6b0 treewide: fix doc typos
Done with `fd \\\.md$ . --type f -x typos --write-changes`
2024-07-26 00:55:13 +02:00
chayleaf
0c5419df39
gradle: expose gradle-unwrapped in passthru 2024-07-24 08:49:17 +07:00
Philip Taron
2b7232de1e
gradle.fetchDeps: fix evaluation on Nix 2.3.18
In 2.3, lists aren't able to be compared with `<`, but
`builtins.compareVersions` does exist.
2024-07-23 11:03:26 -07:00
chayleaf
c12b2a0b19
gradle: add setup hook 2024-07-12 21:36:09 +07:00
Lorenz Leutgeb
48d567fc7b gradle: 8.7 → 8.8 2024-06-03 11:22:48 +02:00
Olli Helenius
c27b6c3834
gradle: 8.6 -> 8.7 2024-03-25 18:24:34 +02:00
Olli Helenius
55a283228c
gradle: add package tests 2024-03-10 13:07:58 +02:00
Harsh Shandilya
083c74020a gradle_7: 7.6.3 -> 7.6.4 2024-02-05 20:54:03 +05:30
Harsh Shandilya
68bb040a96 gradle: 8.5 -> 8.6
Changelog: https://docs.gradle.org/8.6/release-notes.html
2024-02-02 23:38:12 +05:30
Olli Helenius
2e3bbf451b gradle: use SRI hashes 2023-12-13 06:57:34 +00:00
Olli Helenius
b3ff745b7b gradle: 8.4 -> 8.5 2023-12-13 06:57:34 +00:00
Mario Rodas
730328a321
Merge pull request #259221 from liff/gradle-7.6.3
gradle_7: 7.6.2 -> 7.6.3
2023-10-06 08:43:38 -05:00
Olli Helenius
9f325a47d3
gradle_7: 7.6.2 -> 7.6.3 2023-10-05 19:53:07 +03:00
Olli Helenius
f7ffd458c0
gradle: 8.3 -> 8.4 2023-10-05 19:07:10 +03:00
Olli Helenius
2987c1b264 gradle: 8.2.1 -> 8.3 2023-08-20 08:13:37 +02:00
Olli Helenius
583c3dcf98
gradle: provide meta.mainProgram 2023-08-10 21:00:04 +03:00
Robert Scott
246977b44d
Merge pull request #245713 from liff/gradle-8.2
gradle: 8.0.1 -> 8.2.1
2023-07-28 22:29:50 +01:00
Olli Helenius
13cbc0d413
gradle_7: 7.6.1 -> 7.6.2 2023-07-27 14:04:13 +03:00
Olli Helenius
5aa3fc52e2
gradle: 8.0.1 -> 8.2.1 2023-07-27 13:46:24 +03:00
Sandro
ab8f1821af
Merge pull request #216307 from lorenzleutgeb/gradle-8 2023-04-01 20:33:05 +02:00
Thomas Gerbet
30e9f0b97b gradle: 7.6 -> 7.6.1
Fixes CVE-2023-26053.

https://docs.gradle.org/7.6.1/release-notes.html
2023-03-11 12:32:11 +01:00
Lorenz Leutgeb
b32ee446ee gradle: add 8 2023-03-01 14:46:46 +01:00
Lorenz Leutgeb
910e8bbd60 gradle: 6.9.3 -> 6.9.4 2023-02-22 13:00:07 +01:00
Theodore Ni
ce3a7f8d88
gradle_5: remove 2023-01-17 11:56:31 -08:00