Commit Graph

9 Commits

Author SHA1 Message Date
Silvan Mosberger
d1a4769b38 treewide: nixfmt-rfc-style -> nixfmt
Except:
- Instances in documentation, because people in older versions
  can't switch to nixfmt yet due to it having pointed to nixfmt-classic
  before
- In code that runs based on a CI Nixpkgs version, which is also a bit
  older still
- In update script shebangs, because many of them don't pin Nixpkgs, and run
  with whatever is in NIX_PATH (and it's not easy to fix this, see
  https://github.com/NixOS/nixpkgs/issues/425551)
2025-07-15 22:14:18 +02:00
amesgen
3c85958fdc bundlerUpdateScript: format gemset.nix with nixfmt 2024-12-29 14:21:00 +01:00
Silvan Mosberger
4f0dadbf38 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 b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Robert James Hernandez
3acaae9509 bundlerUpdateScript: remove old gemset.nix and Gemfile.lock before updating 2024-07-19 00:02:50 +00:00
Robert James Hernandez
3b3cf8194c bundlerUpdateScript: force bundler to use ruby platform 2024-07-18 23:52:45 +00:00
Nick Novitski
e62118a3f9 bundlerUpdateScript: don't run bundler-audit
Blocking updates on security warnings doesn't make sense; if an updated
gem has dependencies with security warnings, then it's likely for the
un-updated gem to have even more of them.
2023-05-31 12:38:46 -07:00
Jan Tojnar
42a68e6a36 bundlerUpdateScript: Fix evaluation with allowAliases = false
Reverts 38ffd641e0
2022-12-03 23:40:32 +01:00
sternenseemann
38ffd641e0 bundlerUpdateScript: use Nix 2.3
The script assumes that nix(1) can be used without any flags which
is no longer the case. We can easily use Nix 2.3 as a workaround
until someone else musters the willpower to adjust this script for
Nix 2.11.
2022-11-29 23:25:42 +01:00
Nick Novitski
7136e0d0a6 bundlerUpdateScript: init and use (#64822) 2019-07-22 12:02:47 +00:00