Skip to content

Commit

Permalink
Go back to building with GHC 9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Dec 27, 2024
1 parent 0be4aad commit 5cbbcbb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
- uses: haskell-actions/[email protected]
id: setup
with:
ghc-version: '9.8.2'
ghc-version: '9.6.6'

- name: Extract GHC & Cabal paths
run: |
Expand Down
17 changes: 7 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,14 @@
}));

hspkgs = ps :
ps.haskell.packages.ghc98.override {
ps.haskellPackages.override {
overrides = hfinal: hprev: {
with-utf8 = ps.haskell.lib.compose.overrideCabal (drv: {
version = "1.1.0.0";
src = pkgs.fetchFromGitHub {
owner = "serokell";
repo = "haskell-with-utf8";
rev = "cf6e31475da3d9f54439650a70170819daa35f54";
sha256 = "sha256-hxUiZbbcA6RvrVgGk4Vbt/rZT6wnBF3bfYbbQflzQ24=";
};
}) hprev.with-utf8;
with-utf8 =
if (with ps.stdenv; hostPlatform.isDarwin && hostPlatform.isx86)
then ps.haskell.lib.compose.overrideCabal (_ : { extraLibraries = [ps.libiconv]; }) hprev.with-utf8
else hprev.with-utf8;
# TODO: temporary fix for static build which is still on 9.4
witch = ps.haskell.lib.doJailbreak hprev.witch;
};
};
hlib = pkgs.haskell.lib;
Expand Down
1 change: 0 additions & 1 deletion hevm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ common shared
OverloadedStrings
OverloadedLabels
RecordWildCards
TypeAbstractions
TypeFamilies
ViewPatterns
DataKinds
Expand Down

0 comments on commit 5cbbcbb

Please sign in to comment.