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 🧪 - name: Flake checks 🧪
run: | run: |
# Because 'nix flake check' is not system-aware # Because 'nix flake check' is not system-aware
# See https://srid.ca/haskell-template/checks # See https://srid.ca/haskell-flake/checks
nix run nixpkgs#sd 'systems = nixpkgs.lib.systems.flakeExposed' 'systems = [ "x86_64-linux" ]' flake.nix 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: { tools = hp: {
treefmt = config.treefmt.build.wrapper; treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs; } // config.treefmt.build.programs;
hlsCheck.enable = false; hlsCheck.enable = true;
hlintCheck.enable = true; hlintCheck.enable = true;
}; };
}; };