haskell-language-server: Fix build of multiple plugins

This commit is contained in:
Malte Brandy 2021-05-08 01:04:00 +02:00
parent e4633b8a68
commit 58f8338e61
No known key found for this signature in database
GPG Key ID: 226A2D41EF5378C9
2 changed files with 32 additions and 0 deletions

View File

@ -1424,6 +1424,12 @@ self: super: {
# https://github.com/haskell/haskell-language-server/issues/611 # https://github.com/haskell/haskell-language-server/issues/611
haskell-language-server = dontCheck super.haskell-language-server; haskell-language-server = dontCheck super.haskell-language-server;
# 2021-05-08: Tests fail: https://github.com/haskell/haskell-language-server/issues/1808
hls-splice-plugin = dontCheck super.hls-splice-plugin;
# 2021-05-08: Tests fail: https://github.com/haskell/haskell-language-server/issues/1809
hls-eval-plugin = dontCheck super.hls-eval-plugin;
# 2021-03-19: Too restrictive upper bound on optparse-applicative # 2021-03-19: Too restrictive upper bound on optparse-applicative
stylish-haskell = doJailbreak super.stylish-haskell; stylish-haskell = doJailbreak super.stylish-haskell;

View File

@ -872,4 +872,30 @@ self: super: builtins.intersectAttrs super {
hsignal = overrideCabal super.hsignal { hsignal = overrideCabal super.hsignal {
platforms = pkgs.lib.platforms.x86; platforms = pkgs.lib.platforms.x86;
}; };
hls-brittany-plugin = overrideCabal super.hls-brittany-plugin (drv: {
testToolDepends = [ pkgs.git ];
preCheck = ''
export HOME=$TMPDIR/home
'';
});
hls-class-plugin = overrideCabal super.hls-class-plugin (drv: {
testToolDepends = [ pkgs.git ];
preCheck = ''
export HOME=$TMPDIR/home
'';
});
# Tests have file permissions expections that dont work with the nix store.
hls-stylish-haskell-plugin = dontCheck super.hls-stylish-haskell-plugin;
hls-haddock-comments-plugin = overrideCabal super.hls-haddock-comments-plugin (drv: {
testToolDepends = [ pkgs.git ];
preCheck = ''
export HOME=$TMPDIR/home
'';
});
hls-eval-plugin = overrideCabal super.hls-eval-plugin (drv: {
preCheck = ''
export HOME=$TMPDIR/home
'';
});
} }