diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8c4c55..8393352 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - cabal: ["3.6"] + cabal: ["latest"] ghc: - "8.6.5" - "8.10.7" diff --git a/flake.lock b/flake.lock index a3dc52e..6cbef75 100644 --- a/flake.lock +++ b/flake.lock @@ -11,11 +11,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1752917053, - "narHash": "sha256-oI4b1MZ1MR7WLeyZw9k/g6P+707i7RMhdMxkSIBga2Q=", + "lastModified": 1753722205, + "narHash": "sha256-tfBkzRbiYVX6f0oSnY86Uem/JSsCmYXfAJxW+ZKmWQk=", "owner": "clash-lang", "repo": "clash-compiler", - "rev": "229f243605f5ac88fc4e65076acec650ce1164df", + "rev": "43a1c722af29f34c6faf18f14e6cf46a3cfba80f", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4a74d9c..845665f 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,7 @@ flake-utils.lib.eachDefaultSystem (system: let # What version of the GHC compiler to use - compiler-version = "ghc910"; + compiler-version = clash-compiler.ghcVersion.${system}; pkgs = (import clash-compiler.inputs.nixpkgs { inherit system; @@ -26,7 +26,7 @@ { # Expose the overlay which adds circuit-notation # The base of the overlay is clash-pkgs - overlay = overlay; + overlays.default = overlay; devShells.default = hs-pkgs.shellFor { packages = p: [