From f63d20c57d2df4560b31ce3ad2b8a3bdff98e1b1 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Wed, 19 Aug 2026 22:51:58 +0100 Subject: [PATCH] maintainers/update-ruby-packages: format with treefmt config --- maintainers/scripts/update-ruby-packages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintainers/scripts/update-ruby-packages b/maintainers/scripts/update-ruby-packages index b1de427029cd..5513a22ae3c8 100755 --- a/maintainers/scripts/update-ruby-packages +++ b/maintainers/scripts/update-ruby-packages @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p bundler bundix nixfmt +#!nix-shell -i bash -E 'with import ../.. {}; mkShell { packages = [ bash bundler bundix (import ../../ci {}).fmt.pkg ]; }' # shellcheck shell=bash set -euf -o pipefail @@ -20,7 +20,7 @@ rm -f gemset.nix Gemfile.lock # platform from where it was executed. BUNDLE_FORCE_RUBY_PLATFORM=1 bundle lock bundix -nixfmt gemset.nix +treefmt --no-cache gemset.nix # Run checks against the update. if ! \