Commit Graph

73 Commits

Author SHA1 Message Date
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
Thomas Gerbet
3a506a348c jruby: 10.0.0.0 -> 10.0.2.0
Fixes CVE-2025-46551.

Changes:
https://github.com/jruby/jruby/releases/tag/10.0.2.0
https://github.com/jruby/jruby/releases/tag/10.0.1.0
2025-10-21 22:09:54 +02:00
R. Ryantm
baf7500aad jruby: 9.4.12.0 -> 10.0.0.0 2025-07-10 11:39:39 +02:00
R. Ryantm
acd1d1dd2e jruby: 9.4.11.0 -> 9.4.12.0 2025-02-20 18:10:51 +00:00
R. Ryantm
5f46a149fd jruby: 9.4.10.0 -> 9.4.11.0 2025-02-06 05:20:07 +00:00
R. Ryantm
01c4268ee2 jruby: 9.4.9.0 -> 9.4.10.0 2025-01-25 17:48:47 +00: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
R. Ryantm
2cf18cc6c0 jruby: 9.4.8.0 -> 9.4.9.0 2024-11-22 18:15:49 +00:00
R. Ryantm
adcc3678c5 jruby: 9.4.7.0 -> 9.4.8.0 2024-07-09 12:43:29 +00:00
R. Ryantm
76766e2e4e jruby: 9.4.6.0 -> 9.4.7.0 2024-05-04 19:43:36 +00:00
R. Ryantm
f996174da0 jruby: 9.4.5.0 -> 9.4.6.0 2024-02-20 18:42:36 +00:00
R. Ryantm
a25fabad9e jruby: 9.4.4.0 -> 9.4.5.0 2023-11-13 14:58:00 +00:00
Mario Rodas
c253e5eca7 jruby: add updateScript 2023-10-22 04:20:00 +00:00
Mario Rodas
d48146d75b jruby: fix changelog 2023-10-22 04:20:00 +00:00
R. Ryantm
29f976f694 jruby: 9.4.3.0 -> 9.4.4.0 2023-10-19 06:04:02 +00:00
Mario Rodas
671243193c jruby: Use finalAttrs pattern 2023-06-11 04:20:00 +00:00
Mario Rodas
06611403c5 jruby: 9.3.9.0 -> 9.4.3.0
JRuby 9.4.x targets Ruby 3.1 compatibility.

https://github.com/jruby/jruby/releases/tag/9.4.3.0
2023-06-11 04:20:00 +00:00
R. Ryantm
fdd9ddb34c jruby: 9.3.8.0 -> 9.3.9.0 2022-11-02 10:49:36 +08:00
R. Ryantm
51204ac656 jruby: 9.3.7.0 -> 9.3.8.0 2022-09-21 08:09:13 +00:00
R. Ryantm
7337e729a4 jruby: 9.3.6.0 -> 9.3.7.0 2022-08-17 23:57:46 +00:00
Robert Scott
4539e7b92f Merge pull request #184336 from risicle/ris-jruby-binary-bytecode
jruby: mark as `sourceProvenance` `binaryBytecode`
2022-08-14 21:21:38 +01:00
Robert Scott
a043195d2c jruby: mark as sourceProvenance binaryBytecode 2022-07-31 21:56:36 +01:00
R. Ryantm
f64b539060 jruby: 9.3.4.0 -> 9.3.6.0 2022-07-31 13:43:45 +00:00
R. Ryantm
44454a17b4 jruby: 9.3.3.0 -> 9.3.4.0 2022-03-26 23:41:46 +00:00
R. Ryantm
76abd2e162 jruby: 9.3.2.0 -> 9.3.3.0 2022-02-12 20:32:47 -08:00
R. Ryantm
04362a2e94 jruby: 9.2.19.0 -> 9.3.2.0 2021-12-10 14:59:17 +00:00
R. RyanTM
ab9c4eaecd jruby: 9.2.18.0 -> 9.2.19.0 2021-06-23 09:43:01 -07:00
R. RyanTM
068b26fa11 jruby: 9.2.17.0 -> 9.2.18.0 2021-06-16 13:09:05 -07:00
R. RyanTM
6fec0dfca0 jruby: 9.2.16.0 -> 9.2.17.0 2021-04-28 14:27:39 +00:00
Sandro
c0a09eb740 Merge pull request #116009 from fzakaria/faridzakaria/fix-jruby-java-home
jruby: Fix JAVA_HOME to support proper jmod support
2021-03-12 02:24:43 +01:00
Farid Zakaria
bfcd4b0e2a jruby: Fix JAVA_HOME to support proper jmod support
This is investigation I've done in support of
https://github.com/jruby/jruby/issues/6608 where I noticed some funky
issues with JRuby and module loading.

Looks like that JRuby expects JAVA_HOME to have a directory called
`jmod`, which is consistent with the Java Module system.

Unfortunately, the top level directory for the `jre` or `jdk` /nix/store
entry is not a valid JAVA_HOME since it is missing that directory.

Instead it's set within `lib/openjdk`, and there is a passthru variable
set accordingly.

This fixes JRuby and follows many other derivations.
A simple search in the code-base shows that there are many other
packages that suffer this same bug.
2021-03-11 16:10:22 -08:00
R. RyanTM
468bdf7e2a jruby: 9.2.15.0 -> 9.2.16.0 2021-03-08 13:57:28 +00:00
Mario Rodas
b5702fd566 Merge pull request #114442 from r-ryantm/auto-update/jruby
jruby: 9.2.14.0 -> 9.2.15.0
2021-02-27 00:44:40 -05:00
R. RyanTM
0d82e2b847 jruby: 9.2.14.0 -> 9.2.15.0 2021-02-26 07:42:48 +00:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
R. RyanTM
b491aac617 jruby: 9.2.13.0 -> 9.2.14.0 2020-12-12 02:32:27 +00:00
Farid Zakaria
8da7bd63ca jruby: fix shebang for binaries in JRuby
There are a variety of additional scripts that are included with the
JRuby installation that use JRuby itself.

For instance the `bin/gem` had the following contents:

```bash
❯ cat /nix/store/kglkqf56ii83yl6yrgcaj5r3s9m2fzr0-jruby-9.2.13.0/bin/gem

load File.join(File.dirname(__FILE__), 'jgem')
```

This is clearly wrong. Patchshebangs was not picking up the fix as part
of stdenv because the patch is not a build input but the final output
itself.

We have to rely on substituteInPlace so that we get the correct version.

```bash
❯ cat /nix/store/k4fnrn0dcsh2wzw81217r0ywsspb468f-jruby-9.2.13.0/bin/gem

```
2020-09-24 17:57:17 -07:00
Farid Zakaria
ea7e87abf5 jruby: 9.2.12.0 → 9.2.13.0 2020-08-04 14:50:17 -07:00
Farid Zakaria
d764809c4d maintainers: add fzakaria 2020-08-04 14:50:17 -07:00
R. RyanTM
8eb0654d16 jruby: 9.2.11.1 -> 9.2.12.0 2020-07-03 20:04:39 +00:00
R. RyanTM
84c2b8324d jruby: 9.2.11.0 -> 9.2.11.1 2020-04-05 22:06:39 +00:00
R. RyanTM
d08fb3b922 jruby: 9.2.10.0 -> 9.2.11.0 2020-03-05 02:42:20 +00:00
R. RyanTM
b5788ccdf3 jruby: 9.2.9.0 -> 9.2.10.0 2020-02-23 13:56:45 -08:00
R. RyanTM
901f445cbe jruby: 9.2.8.0 -> 9.2.9.0 2019-11-01 21:49:48 -07:00
Vladimír Čunát
2e6bf42a22 Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
R. RyanTM
632c4b870d jruby: 9.2.7.0 -> 9.2.8.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jruby/versions
2019-08-19 05:40:32 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
0eedee12a1 jruby: 9.2.6.0 -> 9.2.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jruby/versions
2019-04-14 18:50:08 -07:00
R. RyanTM
138c15fa52 jruby: 9.2.5.0 -> 9.2.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/jruby/versions
2019-03-03 20:47:54 +01:00