Skip to content

Commit

Permalink
Update tools for ghc 9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tbidne committed Feb 9, 2024
1 parent 0daf260 commit da98987
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- ghc-9.8

pull_request:
branches:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# nix-hs-tools

[![GitHub release (latest SemVer)](https://img.shields.io/github/v/tag/tbidne/nix-hs-tools?include_prereleases&sort=semver)](https://github.com/tbidne/nix-hs-tools/releases/)
![haskell](https://img.shields.io/static/v1?label=&message=9.6&logo=haskell&logoColor=655889&labelColor=2f353e&color=655889)
![haskell](https://img.shields.io/static/v1?label=&message=9.8&logo=haskell&logoColor=655889&labelColor=2f353e&color=655889)
[![ci](http://img.shields.io/github/actions/workflow/status/tbidne/nix-hs-tools/ci.yaml?branch=main&logoColor=85c5e7&labelColor=2f353c)](https://github.com/tbidne/nix-hs-tools/actions/workflows/ci.yaml)
[![MIT](https://img.shields.io/github/license/tbidne/nix-hs-tools?color=blue)](https://opensource.org/licenses/MIT)

Expand Down
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
flake-parts.lib.mkFlake { inherit inputs; } {
perSystem = { pkgs, ... }:
let
ghcVers = "ghc962";
ghcVers = "ghc981";
compiler = pkgs.haskell.packages."${ghcVers}".override {
overrides = final: prev: {
# For some reason, the cabal-fmt in nixpkgs does not have /bin
# i.e. no executable.
cabal-fmt = final.callHackage "cabal-fmt" "0.1.7" { };
implicit-hie = prev.implicit-hie_0_1_4_0;
cabal-fmt = final.callHackage "cabal-fmt" "0.1.10" { };
};
};

Expand Down

0 comments on commit da98987

Please sign in to comment.