Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions configuration-ghc-901.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ let

# we need add ghc-api-compat to build depends,
# since its condition tree is not evaluated under ghc 9

ghc-api-compat = hself.callHackageDirect {
pkg = "ghc-api-compat";
ver = "9.0.1";
sha256 = "WCK1gu6iiCAc2s2rFEqn2CkvHkITPrmDjuiGsWOWerM=";
} {};

hiedb = addBuildDepend hsuper.hiedb hself.ghc-api-compat;

blaze-textual = hself.callCabal2nix "blaze-textual"
Expand Down
12 changes: 5 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,11 @@
tweaks = hself: hsuper:
with haskell.lib; {

ghc-api-compat = hself.callCabal2nix "ghc-api-compat"
(pkgs.fetchFromGitHub {
owner = "hsyl20";
repo = "ghc-api-compat";
rev = "8fee87eac97a538dbe81ff1ab18cff10f2f9fa15";
sha256 = "byehvdxQxhNk5ZQUXeFHjAZpAze4Ct9261ro4c5acZk=";
}) { };
ghc-api-compat = hself.callHackageDirect {
pkg = "ghc-api-compat";
ver = "8.10.7";
sha256 = "g9/InDeQfiXCB9SK8mpl/8B5QEEobj9uqo4xe//telw=";
} {};

lsp = hself.lsp_1_2_0_1;

Expand Down