Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update flake to fix nix builds #2188

Merged
merged 6 commits into from Sep 13, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions configuration-ghc-901.nix
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
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