haskell.packages.ghc92.haskell-language-server: Fix build
This commit is contained in:
parent
a69a71913c
commit
03da332d60
@ -70,16 +70,6 @@ self: super: {
|
||||
(disableCabalFlag "fourmolu")
|
||||
(disableCabalFlag "ormolu")
|
||||
(disableCabalFlag "stylishHaskell")
|
||||
(overrideCabal (drv: {
|
||||
# Disabling the build flags isn't enough: `Setup configure` still configures
|
||||
# every component for building and complains about missing dependencies.
|
||||
# Thus we have to mark the undesired components as non-buildable.
|
||||
postPatch = drv.postPatch or "" + ''
|
||||
for lib in hls-ormolu-plugin hls-fourmolu-plugin; do
|
||||
sed -i "/^library $lib/a\ buildable: False" haskell-language-server.cabal
|
||||
done
|
||||
'';
|
||||
}))
|
||||
(d: d.override {
|
||||
ormolu = null;
|
||||
fourmolu = null;
|
||||
|
Loading…
Reference in New Issue
Block a user