Re-enable hlsCheck

This commit is contained in:
Sridhar Ratnakumar 2023-02-05 14:37:24 -05:00
parent 385155c2e2
commit 48b68856e8
2 changed files with 11 additions and 4 deletions

View file

@ -28,7 +28,14 @@ jobs:
- name: Flake checks 🧪
run: |
# Because 'nix flake check' is not system-aware
# See https://srid.ca/haskell-template/checks
nix run nixpkgs#sd 'systems = nixpkgs.lib.systems.flakeExposed' 'systems = [ "x86_64-linux" ]' flake.nix
# See https://srid.ca/haskell-flake/checks
nix run nixpkgs#sd \
'systems = nixpkgs.lib.systems.flakeExposed' \
'systems = [ "x86_64-linux" ]' \
flake.nix
nix flake check -L
# Sandbox must be disabed for:
# https://github.com/srid/haskell-flake/issues/21
nix \
--option sandbox false \
flake check -L

View file

@ -49,7 +49,7 @@
tools = hp: {
treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs;
hlsCheck.enable = false;
hlsCheck.enable = true;
hlintCheck.enable = true;
};
};