Skip to content

Fix nix build for #1858 #1870

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

Merged
merged 4 commits into from
May 27, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Fix typo
  • Loading branch information
berberman committed May 27, 2021
commit fc66d833cdd99a88a1188d07c27bcae8c6f42b70
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,26 @@
# Don't use `callHackage`, it requires us to override `all-cabal-hashes`
tweaks = hself: hsuper:
with haskell.lib; {

# https://github.com/haskell/haskell-language-server/pull/1858
# Remove this when nixpkgs has thie package
# Remove this override when nixpkgs has this package
apply-refact_0_9_3_0 = hself.callCabal2nix "apply-refact"
(builtins.fetchTarball {
url =
"https://hackage.haskell.org/package/apply-refact-0.9.3.0/apply-refact-0.9.3.0.tar.gz";
sha256 =
"1jfq1aw91finlpq5nn7a96za4c8j13jk6jmx2867fildxwrik2qj";
}) { };

hls-hlint-plugin = hsuper.hls-hlint-plugin.override {
hlint = hself.hlint_3_2_7;
apply-refact = hself.apply-refact_0_9_3_0;
};

hls-tactics-plugin = hsuper.hls-tactics-plugin.override {
refinery = hself.refinery_0_3_0_0;
};

};

hlsSources =
Expand Down