haskell-flake provides a builtin list of flake checks that you can manually enable:
haskell-language-server check (
hlsCheck.enable = true): Tests that HLS continues to work with the project.
hlint check (
hlintCheck.enable = true): Tests that the project does not have any hlint warnings.
nix flake check and IFD
check-flake.url = "github:srid/check-flake";to “inputs”
Now you can run the following command 1 to run all flake checks locally for the current system:
nix --option sandbox false build .#check -L