mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 17:11:40 -05:00

This also fixes a few test installers: - rustfmt is available via apt-get in 22.04, use that instead of tarball that's no longer available - brittany now installs cleanly in the default haskell ghc/cabal in 22.04, so just use that - perltidy in 22.04 has slightly different output - nixfmt download url changed (now includes OS/arch). There was initially no binary available when nixfmt was updated, but the devs there were kind enough to provide one: https://github.com/serokell/nixfmt/issues/139 This runs a full `make fmt-build` without errors, though it takes a while ;). All tests pass, too.
4 lines
184 B
Bash
4 lines
184 B
Bash
ver="$(latest_release serokell/nixfmt)"
|
|
|
|
wget "https://github.com/serokell/nixfmt/releases/download/${ver}/nixfmt-x86_64-linux" -O /usr/local/bin/nixfmt
|
|
chmod +x /usr/local/bin/nixfmt
|