Skip to content

Commit

Permalink
Merge pull request #47 from solomon-b/solomon/update-flake-and-ci
Browse files Browse the repository at this point in the history
Update flake and github actions
  • Loading branch information
solomon-b authored Jan 24, 2024
2 parents eeb61da + 2bb19e1 commit ef0bb94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:

strategy:
matrix:
cabal: ["3.6"]
ghc: ["8.10.7", "9.0.2", "9.2.4", "9.4.5", "9.6.2"]
cabal: ["3.6", "3.10"]
ghc: ["8.10.7", "9.0.2", "9.2.8", "9.4.8", "9.6.3"]

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup
uses: haskell/actions/setup@v1
uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
Expand Down
8 changes: 5 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

outputs = { self, nixpkgs, flake-utils }:
let
ghcVersion = "963";
compiler = "ghc${ghcVersion}";
overlay = import ./overlay.nix;
overlays = [ overlay ];
in
Expand All @@ -19,9 +21,9 @@
rec {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
pkgs.haskellPackages.cabal-install
pkgs.haskellPackages.ghc
pkgs.haskellPackages.haskell-language-server
cabal-install
haskell.compiler.${compiler}
haskell.packages.${compiler}.haskell-language-server
nixpkgs-fmt
ormolu
];
Expand Down

0 comments on commit ef0bb94

Please sign in to comment.