Update lint-spec; and run hlint

This commit is contained in:
Sridhar Ratnakumar 2022-04-07 18:33:54 -04:00
parent d4f809d1a6
commit 761fbc1138
2 changed files with 8 additions and 7 deletions

12
flake.lock generated
View file

@ -54,16 +54,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1648667273, "lastModified": 1649370524,
"narHash": "sha256-eQUb40xDyv0Ye3oMzGz6tcHPF9y9Xhq1QksV9h7uEDk=", "narHash": "sha256-HdyPqyx3+1WDBoQXoukvlIfOrPWTNoPjypoxHMGs61w=",
"ref": "spec-type", "ref": "spec-type-simplify",
"rev": "4648a98d91f754ae0f7a3d035a1aaa871eb1b4fc", "rev": "f245fb4688448712750645f432775651dfd1ebfb",
"revCount": 34, "revCount": 37,
"type": "git", "type": "git",
"url": "https://gitlab.homotopic.tech/nix/lint-utils.git" "url": "https://gitlab.homotopic.tech/nix/lint-utils.git"
}, },
"original": { "original": {
"ref": "spec-type", "ref": "spec-type-simplify",
"type": "git", "type": "git",
"url": "https://gitlab.homotopic.tech/nix/lint-utils.git" "url": "https://gitlab.homotopic.tech/nix/lint-utils.git"
} }

View file

@ -11,7 +11,7 @@
lint-utils = { lint-utils = {
type = "git"; type = "git";
url = "https://gitlab.homotopic.tech/nix/lint-utils.git"; url = "https://gitlab.homotopic.tech/nix/lint-utils.git";
ref = "spec-type"; # https://gitlab.homotopic.tech/nix/lint-utils/-/merge_requests/4 ref = "spec-type-simplify"; # https://gitlab.homotopic.tech/nix/lint-utils/-/merge_requests/4
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
@ -55,6 +55,7 @@
lintSpec = { lintSpec = {
nixpkgs-fmt = { }; nixpkgs-fmt = { };
cabal-fmt = { }; cabal-fmt = { };
hlint = { };
fourmolu = { fourmolu = {
ghcOpts = "-o-XTypeApplications -o-XImportQualifiedPost"; ghcOpts = "-o-XTypeApplications -o-XImportQualifiedPost";
}; };