This contributing guide is not finished, so it may lack certain required information.
This project uses nixpkgs-fmt
and nix-linter
for formatting and checking Nix code.
You can set up a pre-commit hook for Git by running the following command:
nix develop
Please run commands described in this section to check if your contribution is correct.
First run:
nix flake check
If it prints a formatting error, you can fix it by trying to run git commit
.
Also run:
make test
All of the commands should exit with 0.