Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97744 from galagora/hls-ghc-8102
haskell-language-server, stylish-haskell: Fix build on GHC 8.10.*
- Loading branch information
Showing
6 changed files
with
86 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
pkgs/development/tools/haskell/haskell-language-server/hls-brittany.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ mkDerivation, aeson, base, butcher, bytestring, cmdargs | ||
, containers, czipwith, data-tree-print, deepseq, directory, extra | ||
, fetchgit, filepath, ghc, ghc-boot-th, ghc-exactprint, ghc-paths | ||
, hspec, monad-memo, mtl, multistate, parsec, pretty, random, safe | ||
, semigroups, stdenv, strict, syb, text, transformers, uniplate | ||
, unsafe, yaml | ||
}: | ||
mkDerivation { | ||
pname = "brittany"; | ||
version = "0.12.1.1"; | ||
src = fetchgit { | ||
url = "https://github.com/bubba/brittany"; | ||
sha256 = "1rkk09f8750qykrmkqfqbh44dbx1p8aq1caznxxlw8zqfvx39cxl"; | ||
rev = "c59655f10d5ad295c2481537fc8abf0a297d9d1c"; | ||
fetchSubmodules = true; | ||
}; | ||
isLibrary = true; | ||
isExecutable = true; | ||
libraryHaskellDepends = [ | ||
aeson base butcher bytestring cmdargs containers czipwith | ||
data-tree-print deepseq directory extra filepath ghc ghc-boot-th | ||
ghc-exactprint ghc-paths monad-memo mtl multistate pretty random | ||
safe semigroups strict syb text transformers uniplate unsafe yaml | ||
]; | ||
executableHaskellDepends = [ base ]; | ||
testHaskellDepends = [ | ||
aeson base butcher bytestring cmdargs containers czipwith | ||
data-tree-print deepseq directory extra filepath ghc ghc-boot-th | ||
ghc-exactprint ghc-paths hspec monad-memo mtl multistate parsec | ||
pretty safe semigroups strict syb text transformers uniplate unsafe | ||
yaml | ||
]; | ||
homepage = "https://github.com/lspitzner/brittany/"; | ||
description = "Haskell source code formatter"; | ||
license = stdenv.lib.licenses.agpl3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters