Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config(pre-commit/nix): Switch to nixfmt-rfc-style for *.nix files and add pre-commit-hook #191

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MartinNikov
Copy link
Contributor

@MartinNikov MartinNikov commented Dec 20, 2024

  • config(pre-commit/nix): Switch to nixfmt-rfc-style for *.nix files
  • refactor(packages): Move checks in different folder
  • chore(flake.lock): Add pre-commit-hooks input
  • config(*.nix): Configure pre-commit to be used in the repo

Nix RFC 166 [1] has been officially accepted and `nixfmt-rfc-style` [2] is the
official formatter implementation conforming to the rules agreed upon in the RFC.

This commit configures the the Devenv `pre-commit` [3] options to replace
our previous formatter `alejandra` [4] with `nixfmt-rfc-style` [2].
Copy link
Contributor

Thanks for your Pull Request!

Below you will find a summary of the cachix status of each package, for each supported platform.

package x86_64-linux x86_64-darwin aarch64-darwin
cachix ❌ build failed ❌ build failed ❌ build failed
dcd ✅ cached 🚫 not supported 🚫 not supported
dmd ✅ cached 🚫 not supported 🚫 not supported
dscanner ✅ cached 🚫 not supported 🚫 not supported
dub ✅ cached ✅ cached ✅ cached
folder-size-metrics ✅ cached 🚫 not supported 🚫 not supported
foundry ✅ cached ✅ cached ✅ cached
geth ✅ cached 🚫 not supported ✅ cached
grafana-agent ✅ cached 🚫 not supported ✅ cached
ldc ✅ cached 🚫 not supported 🚫 not supported
lido-withdrawals-automation ✅ cached ✅ cached ✅ cached
mcl ✅ cached 🚫 not supported 🚫 not supported
mev-boost ✅ cached 🚫 not supported 🚫 not supported
nethermind ✅ cached 🚫 not supported 🚫 not supported
nimbus-eth2 ✅ cached 🚫 not supported 🚫 not supported
nix ❌ build failed ❌ build failed ❌ build failed
nix-eval-jobs ✅ cached ✅ cached ❌ build failed
nix-fast-build ✅ cached ✅ cached ❌ build failed
pre-commit-check ✅ cached ✅ cached ✅ cached
pyroscope ✅ cached ✅ cached ✅ cached
rustToolchain ✅ cached ✅ cached ✅ cached
serve-d ✅ cached 🚫 not supported 🚫 not supported
terraform ✅ cached 🚫 not supported 🚫 not supported
terranix ✅ cached 🚫 not supported 🚫 not supported
validator-ejector ✅ cached 🚫 not supported 🚫 not supported
web3signer ✅ cached 🚫 not supported 🚫 not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant