Commit Graph

740 Commits

Author SHA1 Message Date
mfukuba
ab33b178b8 ruby_4_0: 4.0.2 -> 4.0.3
(cherry picked from commit 5e41e0c468)
2026-04-22 03:51:12 +00:00
Kirill Radzikhovskyy
1777560a67 ruby_4_0: 4.0.1 -> 4.0.2
https://www.ruby-lang.org/en/news/2026/03/16/ruby-4-0-2-released/
(cherry picked from commit 5c48050a6e)
2026-03-20 23:34:20 +00:00
Kirill Radzikhovskyy
bbf021d5af ruby_4_0: 4.0.0 -> 4.0.1
https://github.com/ruby/ruby/releases/tag/v4.0.1
(cherry picked from commit fdf5997f87)
2026-01-16 16:44:09 +00:00
Kirill Radzikhovskyy
19a20ab3d3 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/
(cherry picked from commit e87da9904b)
2025-12-29 21:09:37 +00:00
Laurent Arnoud
8a712d618f 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

(cherry picked from commit 624ccb8aa0)
2025-12-22 22:36:15 +00:00
James Martin
ecbd9534ca ruby_3_4: 3.4.7 -> 3.4.8
https://github.com/ruby/ruby/releases/tag/v3_4_8
(cherry picked from commit ee218ba240)
2025-12-18 11:26:31 -08:00
Ihar Hrachyshka
cca3b04b44 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 19:01:23 +01: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
K900
041aa01117 Merge remote-tracking branch 'origin/master' into staging-next 2025-08-21 15:22:18 +03:00
Kirill Radzikhovskyy
af25844da2 ruby_3_3: 3.3.8 -> 3.3.9
Release: https://www.ruby-lang.org/en/news/2025/07/24/ruby-3-3-9-released/
2025-08-19 17:13:17 +10:00
Kirill Radzikhovskyy
9d719a32ef ruby_3_2: 3.2.8 -> 3.2.9
Release: https://www.ruby-lang.org/en/news/2025/07/24/ruby-3-2-9-released/
2025-08-19 16:49:36 +10:00
Guy Chronister
cceefea34f bundler: 2.6.9 -> 2.7.1 2025-08-06 22:14:16 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Kirill Radzikhovskyy
d54698c0cb ruby_3_4: 3.4.4 -> 3.4.5
Release: https://github.com/ruby/ruby/releases/tag/v3_4_5
2025-07-16 06:48:14 +10:00
K900
d07e701d48 Merge remote-tracking branch 'origin/master' into staging-next 2025-06-14 23:38:13 +03:00
Kirill Radzikhovskyy
63eeb7a065 ruby_3_4: 3.4.3 -> 3.4.4
Release: https://www.ruby-lang.org/en/news/2025/05/14/ruby-3-4-4-released/
2025-06-09 21:01:08 +10:00
K900
dfaa068412 Merge remote-tracking branch 'origin/master' into staging-next 2025-06-03 08:51:45 +03:00
TomaSajt
6d70a4ac0e ruby: directly pass cargoRoot to fetcher 2025-06-03 02:20:38 +02:00
nixpkgs-ci[bot]
f5096bbfa6 Merge master into staging-next 2025-06-02 18:05:37 +00:00
Peder Bergebakken Sundt
c77ac9dfc3 treewide: fix typos 2025-06-02 16:07:07 +02:00
Guy Chronister
fb4500d095 ruby.rubygems: 3.6.8 -> 3.6.9
Changelog: https://github.com/rubygems/rubygems/blob/v3.6.9/CHANGELOG.md
2025-05-14 20:45:01 +00:00
Guy Chronister
e33f817a1e ruby.rubygems: 3.6.6 -> 3.6.8
Changelog: https://github.com/rubygems/rubygems/blob/v3.6.8/CHANGELOG.md
2025-05-09 09:43:51 -05:00
Emily
954bb3bb03 treewide: remove references to deprecated darwin.libobjc stub
This was done with booxter’s fantastic [nix-clean-apple_sdk] tool,
simply modified to look for `libobjc` rather than the existing list he
already used in <https://github.com/NixOS/nixpkgs/pull/398707>. Some
manual work was applied, including cleaning up a string interpolation
in the terrifying MacVim derivation, stray comments, empty lists,
function parameters, and `inherit`s, including all of the references in
`all-packages.nix`.

[nix-clean-apple_sdk]: https://github.com/booxter/nix-clean-apple_sdk
2025-04-21 20:41:03 +01:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
nixpkgs-ci[bot]
1ef670fe99 Merge staging-next into staging 2025-04-15 18:05:12 +00:00
Kirill Radzikhovskyy
ecc7e57d8e ruby_3_3: 3.3.7 -> 3.3.8
Release notes: https://github.com/ruby/ruby/releases/tag/v3_3_8
2025-04-15 19:03:48 +10:00
Kirill Radzikhovskyy
fb4390604f ruby_3_4: 3.4.2 -> 3.4.3
Release notes: https://github.com/ruby/ruby/releases/tag/v3_4_3
2025-04-15 18:42:53 +10:00
Silvan Mosberger
e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00