While this reverts regressions, this has to cause "new" regressions.
The problem here is that the previous regressions are relatively recent,
still, and the previous regressions are ***much worse*** than the slight
newer regressions that fixes the older regressions.
Note that this is not regressing the packages that are "newly"
regressing prior to the versions they were beforehand. They are now
currently pinned in a pessimistic manner, to correctly fix the problems
in the way that was initially intended.
Related PRs:
- https://github.com/NixOS/nixpkgs/pull/442347
- https://github.com/NixOS/nixpkgs/pull/443679
This is only a transient commit: it will be fixed just next.
```
$ git checkout 109b9812728b3b25888771a038149f3a229cfe3d^ -- \
pkgs/top-level/ruby-packages.nix pkgs/development/ruby-modules/with-packages/Gemfile
```
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
d835815469 (rubyPackages: add dip, 2022-04-13) commented this out, for
reasons I can't entirely figure out - adding it back seems to work
perfectly fine, so this does that.
According to https://endoflife.software/programming-languages/server-side-scripting/ruby
ruby 2.4 will go end-of-life in march, where the new release of nixpkgs
will be cut. We won't be able to support it for security updates.
Remove all references to ruby_2_4 and add ruby_2_7 instead where
missing.
Mark packages that depend on ruby 2.4 as broken:
* chefdk
* sonic-pi
This fixes
nix-shell -p 'ruby.withPackages (const [])' ruby.devdoc
which otherwise wouldn't find documentation, unlike
nix-shell -p ruby ruby.devdoc
which would, because ruby has setup hooks to accomodate for this, that
were being masked by the withPackages wrapper.