Commit Graph
671 Commits
Author SHA1 Message Date
kirillrdyandGitHub af17512a43 ruby_3_4: init at 3.4.0.preview2 (#347238) 2024-10-20 20:04:51 +11:00
Kirill Radzikhovskyy dd8b2cc974 ruby_3_4: init at 3.4.0.preview2
Release notes: https://www.ruby-lang.org/en/news/2024/10/07/ruby-3-4-0-preview2-released/
2024-10-08 14:33:14 +11: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
Michael StahnkeandGitHub a487044287 ruby: 3.3.4 -> 3.3.5 (#340137)
Fixes: CVE-2024-43398
Fixes: CVE-2024-41946
Fixes: CVE-2024-41123
Fixes: CVE-2024-39908
2024-09-07 08:53:28 +02:00
github-actions[bot]andGitHub 9f368dc2ef Merge staging-next into staging 2024-07-28 18:01:25 +00:00
Anthony ROUSSEL 6add9ceeee ruby.rubygems: fix delete binstub lock files
Fixes bug introduced with https://github.com/rubygems/rubygems/pull/7797

Binstub lock files are not deleted once the binstub is created,
and this breaks some build like mastodon.
2024-07-28 16:32:12 +02:00
github-actions[bot]andGitHub e26c2ed42f Merge staging-next into staging 2024-07-28 06:01:29 +00:00
github-actions[bot]andGitHub 384d08d20d Merge master into staging-next 2024-07-28 06:01:00 +00:00
Peter Hoeg 3040c1ebd0 ruby: add mainProgram 2024-07-27 10:31:11 +02:00
Randy Eckenrode e88f0cf2f2 Revert "ruby_3_3: work around useSystemCoreFoundationFramework"
This reverts commit b03ca962b0.
2024-07-26 12:41:45 -04:00
Randy Eckenrode b03ca962b0 ruby_3_3: work around useSystemCoreFoundationFramework
Similar issue as https://github.com/NixOS/nixpkgs/pull/329526. Ruby 3.3 attempts to merge objects during the build, which fails due to stricter handling of `-rpath` in ld64.
2024-07-25 18:51:42 -04:00
Anthony Roussel 340180ba91 ruby.rubygems: 3.5.15 -> 3.5.16
https://github.com/rubygems/rubygems/releases/tag/v3.5.16
2024-07-20 12:32:06 +02:00
SandroandGitHub ce68870f49 Merge pull request #321040 from anthonyroussel/bundler-2.5.13 2024-07-16 13:26:59 +02:00
lassulusandGitHub b40822608f Merge pull request #326608 from anthonyroussel/ruby_3_3_4
ruby_3_3: 3.3.3 -> 3.3.4
2024-07-13 21:30:27 +02:00
Jan Tojnar 1275c3f884 Merge branch 'staging-next' into staging 2024-07-12 21:36:23 +02:00
Anthony Roussel a1a29bd6f4 ruby_3_3: 3.3.3 -> 3.3.4
Changelog: https://github.com/ruby/ruby/releases/tag/v3_3_4

Release Notes: https://www.ruby-lang.org/en/news/2024/07/09/ruby-3-3-4-released/
2024-07-12 19:03:21 +02:00
Anthony Roussel a1d6c177ec ruby.rubygems: add passthru.updateScript 2024-07-12 18:28:44 +02:00
Anthony Roussel edb4e41b4b ruby.rubygems: 3.5.11 -> 3.5.15
https://github.com/rubygems/rubygems/compare/v3.5.11...v3.5.15
2024-07-12 18:28:37 +02:00
Anderson Torres 084dc9a4df treewide: remove vrthra from meta.maintainers [no orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since at least 2017.
2024-07-07 12:18:57 -03:00
Joé Dupuis aa86df0451 ruby_3_3: 3.3.2 -> 3.3.3
Changelog: https://github.com/ruby/ruby/releases/tag/v3_3_3

Release Notes: https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/
2024-06-15 17:45:25 -07:00
Joé Dupuis 1f908baaa1 ruby_3_1: 3.1.5 -> 3.1.6
Changelog: https://github.com/ruby/ruby/releases/tag/v3_1_6

Release Notes: https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/
2024-06-15 17:45:21 -07:00
github-actions[bot]andGitHub 79bbeb1aaf Merge master into staging-next 2024-06-11 00:02:06 +00:00
Peder Bergebakken SundtandGitHub a53f8b3cd0 Merge pull request #317171 from teoljungberg/ruby_3_3_2
ruby_3_3: 3.3.1 -> 3.3.2
2024-06-11 01:54:13 +02:00
Alyssa Ross 3df6bb2c85 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
github-actions[bot]andGitHub 668adff0d4 Merge master into staging-next 2024-06-09 12:01:06 +00:00
Audrey Dutcher 62b6c7f71b ruby: provide correct qsort configuration on FreeBSD cross
I believe that BSD qsort is a macro and GNU qsort is a function, which
affects how you can use them.
2024-06-07 20:33:33 -07:00
Teo Ljungberg 5d5834eb8f ruby_3_3: 3.3.1 -> 3.3.2 2024-06-04 13:46:53 +02:00
Vladimír Čunát 5804775d03 Merge branch 'staging' into staging-next 2024-05-31 07:30:41 +02:00
isabelandEmery Hemingway 63aceac766 treewide: remove unused occurence of fetchFromGitHub argument 2024-05-30 05:56:07 +00:00
Anthony Roussel 3d17ec58d4 ruby.rubygems: 3.5.10 -> 3.5.11 2024-05-29 11:08:45 +02:00
Anthony Roussel 4720fb16c3 ruby.rubygems: 3.5.9 -> 3.5.10
https://github.com/rubygems/rubygems/releases/tag/v3.5.10
2024-05-03 21:15:06 +02:00
Vladimír Čunát d157c07324 Merge branch 'master' into staging-next 2024-04-25 20:43:34 +02:00
Mario RodasandGitHub acba655f26 Merge pull request #306286 from marsam/ruby
ruby: 3.1.4 -> 3.1.5, 3.2.3 -> 3.2.4, 3.3.0 -> 3.3.1
2024-04-24 07:56:46 -05:00
Mario Rodas 2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Mario Rodas e49c774d68 ruby_3_3: 3.3.0 -> 3.3.1
Changelog: https://github.com/ruby/ruby/releases/tag/v3_3_1

Release Notes: https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-3-1-released/
2024-04-23 04:20:00 +00:00
Mario Rodas 938384a7a5 ruby_3_2: 3.2.3 -> 3.2.4
Changelog: https://github.com/ruby/ruby/releases/tag/v3_2_4

Release Notes: https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/
2024-04-23 04:20:00 +00:00
Mario Rodas f6d863e1c2 ruby_3_1: 3.1.4 -> 3.1.5
Changelog: https://github.com/ruby/ruby/releases/tag/v3_1_5

Release Notes: https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-1-5-released/
2024-04-23 04:20:00 +00:00
github-actions[bot]andGitHub e506b5706f Merge staging-next into staging 2024-04-16 06:01:35 +00:00
github-actions[bot]andGitHub a34a6c51cd Merge master into staging-next 2024-04-16 06:01:08 +00:00
Anthony Roussel 9c41cab75c ruby.rubygems: 3.5.7 -> 3.5.9
https://github.com/rubygems/rubygems/releases/tag/v3.5.9
2024-04-12 19:00:01 +02:00
Andrew Marshall 7d63c77405 ruby: improve failure message when missing cargoHash
Without this, doing e.g. `pkgs.mkRuby` without a `cargoHash` param would
mean that the `fetchCargoTarball` drv was not a FOD and thus had no
network access and would give confusing network failure messages. This
forces specifying non-null `cargoHash` if it is actually being used,
while allowing it to still be `null` when not needed.
2024-04-01 13:58:03 -04:00
Anthony Roussel 5c54742eb8 ruby.rubygems: 3.5.6 -> 3.5.7
https://github.com/rubygems/rubygems/releases/tag/v3.5.7
2024-03-24 21:51:40 +01:00
Mario RodasandGitHub 28e51c9d10 Merge pull request #258705 from tie/fix-ca-derivations-disallowed
{ruby,neovim}: fix build with content-addressed derivations

Fixes https://github.com/NixOS/nixpkgs/issues/278334
2024-03-24 09:00:12 -05:00
github-actions[bot]andGitHub 8bc9edd60d Merge staging-next into staging 2024-02-17 18:01:24 +00:00
MidAutumnMoon 51aeaf7a61 ruby: replace rec {} with finalAttrs & make overriding possible
Without this change, use overrideAttrs on Ruby
won't change the instance used by Gems, making it
very difficult to build a custom Ruby (e.g. add devdoc).
2024-02-13 14:39:35 +08:00
Mario RodasandGitHub c5373bf5ed Merge pull request #287352 from marsam/update-bundler
bundler: 2.5.5 -> 2.5.6
2024-02-09 05:29:45 -05:00
Mario Rodas 7ebc294d95 ruby.rubygems: 3.5.5 -> 3.5.6
Changelog: https://github.com/rubygems/rubygems/blob/v3.5.6/CHANGELOG.md
2024-02-08 04:20:00 +00:00
Alyssa Ross 54d6f5d76f ruby: make C++ compiler overridable as well
Some gems use the C++ compiler Ruby was built with, like eventmachine.
2024-02-04 11:43:03 +01:00