Commit graph

269 commits

Author SHA1 Message Date
Peder Bergebakken Sundt
c77ac9dfc3 treewide: fix typos 2025-06-02 16:07:07 +02: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
K900
b6fb91950c treewide: drop allowGitDependencies hack 2025-04-02 10:34:01 +03:00
kirillrdy
8bb23e656d
ruby: 3.1.6 -> 3.1.7, 3.2.6 -> 3.2.8 (#393396) 2025-03-30 00:06:53 +00:00
Robbe Van Petegem
ff3c87a179 ruby_3_3: 3.3.6 -> 3.3.7 2025-03-30 11:00:53 +11:00
Robbe Van Petegem
92248bd873 ruby_3_2: 3.2.6 -> 3.2.8 2025-03-26 15:25:10 +01:00
Robbe Van Petegem
9fd9dd5770 ruby_3_1: 3.1.6 -> 3.1.7 2025-03-26 15:25:10 +01:00
Robbe Van Petegem
1c3ad5fe4c ruby_3_4: 3.4.1 -> 3.4.2 2025-02-15 13:46:47 +01:00
Alyssa Ross
e24c43c22e
ruby: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-28 13:30:42 +01:00
FUNABARA Masao
bc5ff8d5ec ruby_3_4: 3.4.0.preview2 -> 3.4.1 2024-12-25 12:47:59 +00:00
Silvan Mosberger
84d4f874c2 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 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
K900
aa180fdca0 Merge remote-tracking branch 'origin/staging-next' into staging 2024-12-02 10:34:44 +03:00
Kenichi Kamiya
83e1ebb0c6
ruby_3_3: 3.3.5 -> 3.3.6 2024-11-16 20:37:36 +09:00
Kenichi Kamiya
1cd36341b2
ruby_3_2: 3.2.5 -> 3.2.6 2024-11-16 20:35:19 +09:00
github-actions[bot]
e953c01873
Merge staging-next into staging 2024-11-05 00:14:28 +00:00
Nymphium
6f42eff1de
ruby_3_2: 3.2.4 -> 3.2.5 (#352560) 2024-11-04 20:27:55 +01:00
Sean Gillespie
04a90ffde2
ruby: fix cross build (#348566) 2024-10-30 17:00:45 +01:00
kirillrdy
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 Stahnke
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]
e26c2ed42f
Merge staging-next into staging 2024-07-28 06:01:29 +00:00
github-actions[bot]
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
Sandro
ce68870f49
Merge pull request #321040 from anthonyroussel/bundler-2.5.13 2024-07-16 13:26:59 +02:00
lassulus
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
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
Peder Bergebakken Sundt
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
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
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
isabel
63aceac766 treewide: remove unused occurence of fetchFromGitHub argument 2024-05-30 05:56:07 +00:00
Vladimír Čunát
d157c07324
Merge branch 'master' into staging-next 2024-04-25 20:43:34 +02: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