From 48b68856e889e2f61e269a51cd4279616a5c4aa9 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sun, 5 Feb 2023 14:37:24 -0500 Subject: [PATCH] Re-enable hlsCheck --- .github/workflows/ci.yaml | 13 ++++++++++--- flake.nix | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6bc56d6..67a3c37 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/flake.nix b/flake.nix index 59c4de6..6513ba6 100644 --- a/flake.nix +++ b/flake.nix @@ -49,7 +49,7 @@ tools = hp: { treefmt = config.treefmt.build.wrapper; } // config.treefmt.build.programs; - hlsCheck.enable = false; + hlsCheck.enable = true; hlintCheck.enable = true; }; };