Enable hlint check in treefmt (#83)

And update `haskell-flake`
This commit is contained in:
Sridhar Ratnakumar 2023-02-06 17:57:23 -05:00 committed by GitHub
parent 48b68856e8
commit 12ec81a94f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

6
flake.lock generated
View file

@ -35,11 +35,11 @@
}, },
"haskell-flake": { "haskell-flake": {
"locked": { "locked": {
"lastModified": 1675623979, "lastModified": 1675724013,
"narHash": "sha256-eD01oAbmfWhAVHesQrsZkGdueV7xtV1AmhGDEvJV2XA=", "narHash": "sha256-RHkxnmNRTwfxSzP/3UUil30h2HyC7QfqYafoJRdyTmE=",
"owner": "srid", "owner": "srid",
"repo": "haskell-flake", "repo": "haskell-flake",
"rev": "014aa621ec2e910766f8fbe03dc9638984a359eb", "rev": "7c4af21238b3c94e5eb61daad78fec7df4eaec51",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -50,7 +50,6 @@
treefmt = config.treefmt.build.wrapper; treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs; } // config.treefmt.build.programs;
hlsCheck.enable = true; hlsCheck.enable = true;
hlintCheck.enable = true;
}; };
}; };
@ -63,6 +62,7 @@
programs.ormolu.enable = true; programs.ormolu.enable = true;
programs.nixpkgs-fmt.enable = true; programs.nixpkgs-fmt.enable = true;
programs.cabal-fmt.enable = true; programs.cabal-fmt.enable = true;
programs.hlint.enable = true;
# We use fourmolu # We use fourmolu
programs.ormolu.package = pkgs.haskellPackages.fourmolu; programs.ormolu.package = pkgs.haskellPackages.fourmolu;