Skip to content

Commit

Permalink
Merge pull request #5911 from IntersectMBO/nadia.chambers/ghc-9.6.5-nix
Browse files Browse the repository at this point in the history
Updates to use latest ghc-9.6 & 9.8 point releases
  • Loading branch information
NadiaYvette authored Jul 18, 2024
2 parents 2dc1890 + 51d1acc commit d0a88dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:

- name: Fetch nix cache and update cabal indices
run: |
nix develop .\#project.x86_64-linux.projectVariants.ghc964.shell --command \
nix develop .\#project.x86_64-linux.projectVariants.ghc96.shell --command \
cabal update
- name: Build whole project
run: |
nix develop .\#project.x86_64-linux.projectVariants.ghc964.shell --command \
nix develop .\#project.x86_64-linux.projectVariants.ghc96.shell --command \
cabal build all
- name: Build documentation
run: |
nix develop .\#project.x86_64-linux.projectVariants.ghc964.shell --command \
nix develop .\#project.x86_64-linux.projectVariants.ghc96.shell --command \
cabal haddock-project --local --output=./haddocks --internal --foreign-libraries
- name: Compress haddocks
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
fail-fast: false
matrix:
# If you edit these versions, make sure the version in the lonely macos-latest job below is updated accordingly
ghc: ["9.6.4", "9.8.1"]
ghc: ["9.6", "9.8"]
cabal: ["3.10.2.1"]
os: [windows-latest, ubuntu-latest]
include:
# Using include, to make sure there will only be one macOS job, even if the matrix gets expanded later on.
# We want a single job, because macOS runners are scarce.
- os: macos-latest
cabal: "3.10.2.1"
ghc: "9.6.4"
ghc: "9.6"

env:
# Modify this value to "invalidate" the cabal cache.
Expand Down
2 changes: 1 addition & 1 deletion nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let
name = "cardano-node";
compiler-nix-name = lib.mkDefault "ghc8107";
# extra-compilers
flake.variants = lib.genAttrs ["ghc964"] (x: {compiler-nix-name = x;});
flake.variants = lib.genAttrs ["ghc96"] (x: {compiler-nix-name = x;});
cabalProjectLocal = ''
repository cardano-haskell-packages-local
url: file:${CHaP}
Expand Down

0 comments on commit d0a88dc

Please sign in to comment.