diff options
author | Guillaume Desforges <aceus02@gmail.com> | 2020-06-25 14:23:09 +0200 |
---|---|---|
committer | Guillaume Desforges <aceus02@gmail.com> | 2020-06-29 11:50:15 +0200 |
commit | 356cd30269fbb9a378af048fb577328147f0592a (patch) | |
tree | f8947d9adb596a0cda8113b59039556593ebc166 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 9b0a1bfcdd9fa089cc1a0fd60649e8a38a774bea (diff) | |
download | nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.tar nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.tar.gz nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.tar.bz2 nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.tar.lz nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.tar.xz nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.tar.zst nixpkgs-356cd30269fbb9a378af048fb577328147f0592a.zip |
haskell-language-server: init at 0.1.0.0
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7ade5ede29d..d22eb95ad3b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1415,6 +1415,46 @@ self: super: { # 2020-06-24: Tests are broken in hackage distribution. # See: https://github.com/robstewart57/rdf4h/issues/39 rdf4h = dontCheck super.rdf4h; + + # hasn't bumped upper bounds + # test fails: "floskell-test: styles/base.md: openBinaryFile: does not exist (No such file or directory)" + # https://github.com/ennocramer/floskell/issues/48 + floskell = dontCheck (doJailbreak super.floskell); + + # hasn't bumped upper bounds + # test fails because of a "Warning: Unused LANGUAGE pragma" + # https://github.com/ennocramer/monad-dijkstra/issues/4 + monad-dijkstra = dontCheck (doJailbreak super.monad-dijkstra); + + # haskell-language-server uses its own fork of ghcide + # Test disabled: it seems to freeze (is it just that it takes a long time ?) + hls-ghcide = + dontCheck ( + overrideCabal super.hls-ghcide + (old: { + # The integration test run by lsp-test requires the executable to be in the PATH + preCheck = '' + export PATH=$PATH:dist/build/ghcide + ''; + }) + ); + + haskell-language-server = (overrideCabal super.haskell-language-server + (old: { + # The integration test run by lsp-test requires the executable to be in the PATH + preCheck = '' + export PATH=$PATH:dist/build/haskell-language-server + ''; + + # test needs the git tool + testToolDepends = old.testToolDepends + ++ [ pkgs.git ]; + })).override { + # use a fork of ghcide + ghcide = self.hls-ghcide; + # use specific version + ormolu = super.ormolu_0_0_5_0; + }; # https://github.com/kowainik/policeman/issues/57 policeman = doJailbreak super.policeman; |