Commit Graph

760 Commits

Author SHA1 Message Date
mfukuba
0c01f52343 ruby_4_0: 4.0.4 -> 4.0.5
Release notes: https://github.com/ruby/ruby/releases/tag/v4.0.5
2026-05-20 14:59:23 +09:00
mfukuba
1eb8919b25 ruby_4_0: 4.0.3 -> 4.0.4
Release notes: https://github.com/ruby/ruby/releases/tag/v4.0.4
2026-05-13 08:59:42 +09:00
Vladimír Čunát
83ec73683e Merge master into staging-next 2026-04-22 08:04:51 +02:00
mfukuba
5e41e0c468 ruby_4_0: 4.0.2 -> 4.0.3 2026-04-21 22:09:43 +09:00
Vladimír Čunát
db44839192 ruby: relax an installCheckPhase check on darwin
I don't really know what the check is for, and I've seen
no interest in looking into this for a week.
Let's unblock the ~10k jobs waiting on this failure.

Nit: I would've liked to format this piece of code
to better read for humans, but nixfmt won't let me :-(
I was also careful to avoid rebuilds on *-linux.
2026-04-16 11:31:11 +02:00
Vladimír Čunát
554d5142b7 ruby_3_4: 3.4.8 -> 3.4.9 (#499156) 2026-04-05 19:45:25 +00:00
Kirill Radzikhovskyy
5c48050a6e ruby_4_0: 4.0.1 -> 4.0.2
https://www.ruby-lang.org/en/news/2026/03/16/ruby-4-0-2-released/
2026-03-19 09:21:28 +11:00
mfukuba
8ecb1fc985 ruby_3_4: 3.4.8 -> 3.4.9 2026-03-12 15:46:07 +09:00
Martin Weinelt
b79da2786f Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/python-modules/bundlewrap/default.nix
	pkgs/development/python-modules/coverage/default.nix
	pkgs/development/python-modules/h5netcdf/default.nix
	pkgs/development/python-modules/hypothesis/default.nix
	pkgs/development/python-modules/numba/default.nix
	pkgs/development/python-modules/optype/default.nix
	pkgs/development/python-modules/setuptools-git-versioning/default.nix
	pkgs/development/python-modules/sphinx/default.nix
2026-02-15 16:17:41 +01:00
Stefan Frijters
c45e849e7d ruby: move NROFF variable into env for structuredAttrs 2026-02-11 11:20:22 +01:00
nixpkgs-ci[bot]
6651d5f490 Merge staging-next into staging 2026-01-18 18:06:32 +00:00
Wolfgang Walther
807bc84ed5 teams/iog: handle team with external membership (#478823) 2026-01-18 14:02:27 +00:00
nixpkgs-ci[bot]
dfd5b3a4fd Merge staging-next into staging 2026-01-16 18:06:48 +00:00
Kirill Radzikhovskyy
fdf5997f87 ruby_4_0: 4.0.0 -> 4.0.1
https://github.com/ruby/ruby/releases/tag/v4.0.1
2026-01-16 20:15:45 +11:00
Wolfgang Walther
aa7f574386 maintainers: drop manveru
Did not react to maintainer pings since 2024. Dropping according to
maintainer guidelines.
2026-01-10 22:12:03 +01:00
Burke Libbey
419ae375fb ruby: remove --with-setjmp-type=setjmp on Darwin
The --with-setjmp-type=setjmp configure flag was added in 2014 to work
around a hang during "generating encdb.h" on macOS 10.10 (Yosemite).

This flag forces Ruby to use setjmp/longjmp instead of the default
_setjmp/_longjmp, which causes a 5.5x slowdown in proc and block calls
on modern macOS due to unnecessary signal mask save/restore operations.

macOS 10.10 Yosemite reached end of life in 2017 and is far below the
minimum macOS version supported by nixpkgs (currently 10.14 I think?).
The underlying issue was specific to that OS version and does not affect
any supported macOS release.

I am however not 100% sure which release this incompatibility _stopped_
with. It certainly works on Tahoe.
2026-01-06 11:37:54 -05:00
Michael Daniels
967cf1832f Merge remote-tracking branch 'upstream/master' 2025-12-29 19:30:47 -05:00
Kirill Radzikhovskyy
e87da9904b ruby_4_0: 4.0.0-preview3 -> 4.0.0
Release: https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
2025-12-26 10:28:21 +11:00
nixpkgs-ci[bot]
fb7bf4701b Merge master into staging-next 2025-12-23 00:18:10 +00:00
kirillrdy
6d8f4c6607 ruby_4_0: rename from ruby_3_5, update to 4.0.0-preview3 (#471354) 2025-12-22 22:30:30 +00:00
Laurent Arnoud
624ccb8aa0 ruby_4_0: rename from ruby_3_5, update to 4.0.0-preview3
- Renamed ruby_3_5 to ruby_4_0 following the upstream renaming from 3.5 to 4.0
- Updated to version 4.0.0-preview3
- Added backwards compatibility aliases for ruby_3_5 and rubyPackages_3_5
2025-12-22 13:10:11 +00:00
K900
453752195a Merge remote-tracking branch 'origin/master' into staging-next 2025-12-18 09:57:58 +03:00
James Martin
ee218ba240 ruby_3_4: 3.4.7 -> 3.4.8
https://github.com/ruby/ruby/releases/tag/v3_4_8
2025-12-17 14:33:22 -08:00
Wolfgang Walther
46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +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
kirillrdy
5ab805ca1e ruby: Drop cargo, it's not used by yjit (#462631) 2025-11-18 09:15:03 +00:00
Samuel Dionne-Riel
5f50a5563f ruby: Drop cargo, it's not used by yjit
- 0b559eab04/yjit/yjit.mk (L22-L27)

Only `$RUSTC`, which desugars to `rustc` by default, is used for yjit.
Note that the plumbing for cargo does exist, but is used for development
purposes only.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
(cherry picked from commit 90e5b96d7fc14cd8b4e290769f4d188e75329a32)
2025-11-17 12:24:28 -05:00
Samuel Dionne-Riel
c286dcb017 ruby: Fix cross-compilation with yjit
Otherwise it will produce `yjit.a` with the default target for the
`rustc` compiler, which in turn turns out to be the build platform?

It could be configured using the `RUST` environment variable, and
since it's used without quoting it would expand the arguments added
to it.

Using `RUST = "rust --target ..."` I think would be  undesirable for
cross-compiling (and native), since it will save those arguments in
`lib/ruby/*/*/rbconfig.rb`. Though that might be fine too. I guess.

Note that 3.2 breaks differently. I haven't investigated it, since it's
not the default anymore, and will eventually be dropped.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
(cherry picked from commit 75d6216956bfb72a2a1082da7237f74dddf8e123)
2025-11-17 11:52:37 -05:00
Samuel Dionne-Riel
504ad0ac46 Revert "ruby: disable yjit on cross"
This reverts commit 4fce4c99f7.
2025-11-17 11:45:22 -05:00
Hans Joachim Kliemeck
066aa4808d ruby_3_3: 3.3.9 -> 3.3.10 2025-10-29 18:46:24 +00:00
nixpkgs-ci[bot]
8dc688a8ac Merge staging-next into staging 2025-10-13 08:51:34 +00:00
nixpkgs-ci[bot]
e01e956651 Merge master into staging-next 2025-10-13 08:50:53 +00:00
Vladimír Čunát
bb7964b682 Revert "ruby: avoid rebuilding default ruby on linux for now"
This reverts commit f0166da268.
/cc PR #451386
2025-10-13 09:15:24 +02:00
Vladimír Čunát
be33506df0 ruby_{3_3,3_4}: backport patches for GCC 15 and LLVM 21 (#451386) 2025-10-13 09:11:24 +02:00
Guilhem Saurel
4fce4c99f7 ruby: disable yjit on cross
Fix `nix build .#pkgsCross.aarch64-multiplatform.ruby` failing
with:
```
partial linking yjit/target/release/libyjit.a into yjit/target/release/libyjit.o
/nix/store/…/bin/aarch64-unknown-linux-gnu-ld: yjit/target/release/libyjit.a(yjit.1fllkjkj80qowi7xzzkaw1xy8.rcgu.o): Relocations in generic ELF (EM: 62)
/nix/store/…/bin/aarch64-unknown-linux-gnu-ld: yjit/target/release/libyjit.a(yjit.1fllkjkj80qowi7xzzkaw1xy8.rcgu.o): Relocations in generic ELF (EM: 62)
/nix/store/…/bin/aarch64-unknown-linux-gnu-ld: yjit/target/release/libyjit.a(yjit.1fllkjkj80qowi7xzzkaw1xy8.rcgu.o): error adding symbols: file in wrong format
```

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2025-10-13 09:06:57 +02:00
Vladimír Čunát
f0166da268 ruby: avoid rebuilding default ruby on linux for now 2025-10-13 08:59:35 +02:00
nixpkgs-ci[bot]
c1956e94be Merge master into staging-next 2025-10-12 22:09:48 +00:00
Emily
cdb57da081 ruby_{3_3,3_4}: backport patches for GCC 15 and LLVM 21
Ruby 3.5.0-preview1 is also affected, but it’s several months old
and the patches do not apply cleanly to it. Hopefully that won’t
be a big deal, since the fixes will be picked up on the next update.

Closes: #449970
2025-10-12 17:39:43 +01:00
Emily
2f42412f78 ruby_3_2: drop 2025-10-12 17:39:43 +01:00
Emily
3d86fc35c1 ruby_3_1: drop 2025-10-12 17:30:44 +01:00
Emily
ee2c39a0f5 ruby: clean up dead code for removed versions 2025-10-12 17:08:27 +01:00
nixpkgs-ci[bot]
aaf8b9d701 Merge master into staging-next 2025-10-09 00:15:55 +00:00
Kirill Radzikhovskyy
abb38fde2b ruby_3_4: 3.4.6 -> 3.4.7
Release: https://www.ruby-lang.org/en/news/2025/10/07/ruby-3-4-7-released/
2025-10-08 10:10:26 +11:00
Anthony Roussel
cec1e0cec4 bundler: 2.7.1 -> 2.7.2 (#443284) 2025-10-03 22:13:29 +02:00
Masum Reza
7fef3884c6 ruby_3_5: init at preview1 (#442339) 2025-09-30 10:15:12 +00:00
Kirill Radzikhovskyy
01d5c88f6d ruby_3_4: 3.4.5 -> 3.4.6
release: https://github.com/ruby/ruby/releases/tag/v3_4_6
2025-09-16 13:59:06 +10:00
Guy Chronister
d8828896de bundler: 2.7.1 -> 2.7.2 2025-09-16 00:43:04 +00:00
Kirill Radzikhovskyy
2ed47db624 ruby_3_5: init at preview1
Release: https://www.ruby-lang.org/en/news/2025/04/18/ruby-3-5-0-preview1-released/
2025-09-12 21:01:40 +10:00
Jasi
7efb80dccb ruby: remove fetchFromSavannah fetcher with files from autoconf
Co-developed-by: Philip Taron <philip.taron@gmail.com>
2025-08-22 20:13:31 -04:00
nixpkgs-ci[bot]
7099ae2a7e Merge staging-next into staging 2025-08-21 12:43:40 +00:00