mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
haskell.packages.ghc92.haskell-language-server: Fix build
This commit is contained in:
parent
33fb613422
commit
b8ec29ee70
@ -75,11 +75,17 @@ self: super: {
|
||||
|
||||
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;
|
||||
# Not buildable if GHC > 9.2.3, so we ship no compatible GHC
|
||||
hls-stan-plugin = null;
|
||||
});
|
||||
}) [
|
||||
(disableCabalFlag "fourmolu")
|
||||
(disableCabalFlag "ormolu")
|
||||
(disableCabalFlag "stylishHaskell")
|
||||
];
|
||||
# For GHC < 9.4, some packages need data-array-byte as an extra dependency
|
||||
hashable = addBuildDepends [ self.data-array-byte ] super.hashable;
|
||||
primitive = addBuildDepends [ self.data-array-byte ] super.primitive;
|
||||
|
Loading…
Reference in New Issue
Block a user