Commit bc9474a9 authored by Samuel Dionne-Riel's avatar Samuel Dionne-Riel Committed by Samuel Dionne-Riel
Browse files

maintainers/scripts/update-ruby-packages: Run nixfmt on the produced gemset

This ensures consistency with future repo-wide runs of the formatter.
parent c5ae371f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bundler bundix
#!nix-shell -i bash -p bundler bundix nixfmt

set -euf -o pipefail

@@ -11,6 +11,7 @@ set -euf -o pipefail
  # platform from where it was executed.
  BUNDLE_FORCE_RUBY_PLATFORM=1 bundle lock
  bundix
  nixfmt gemset.nix
  mv gemset.nix ../../../top-level/ruby-packages.nix
  rm -f Gemfile.lock
)