haskell.packages.ghc92.haskell-language-server: Fix build

This commit is contained in:
maralorn 2024-03-16 22:39:37 +01:00
parent 33fb613422
commit b8ec29ee70

View file

@ -75,11 +75,17 @@ self: super: {
stylish-haskell = doJailbreak super.stylish-haskell_0_14_4_0; stylish-haskell = doJailbreak super.stylish-haskell_0_14_4_0;
haskell-language-server = disableCabalFlag "fourmolu" (super.haskell-language-server.override { haskell-language-server = lib.pipe (super.haskell-language-server.override {
hls-ormolu-plugin = null;
hls-stylish-haskell-plugin = null;
hls-fourmolu-plugin = null; hls-fourmolu-plugin = null;
# Not buildable if GHC > 9.2.3, so we ship no compatible GHC # Not buildable if GHC > 9.2.3, so we ship no compatible GHC
hls-stan-plugin = null; hls-stan-plugin = null;
}); }) [
(disableCabalFlag "fourmolu")
(disableCabalFlag "ormolu")
(disableCabalFlag "stylishHaskell")
];
# For GHC < 9.4, some packages need data-array-byte as an extra dependency # For GHC < 9.4, some packages need data-array-byte as an extra dependency
hashable = addBuildDepends [ self.data-array-byte ] super.hashable; hashable = addBuildDepends [ self.data-array-byte ] super.hashable;
primitive = addBuildDepends [ self.data-array-byte ] super.primitive; primitive = addBuildDepends [ self.data-array-byte ] super.primitive;