diff options
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 516c3caaa08fa..eb31f4582a872 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -69,20 +69,12 @@ self: super: { haskell-language-server = lib.pipe super.haskell-language-server [ (disableCabalFlag "fourmolu") (disableCabalFlag "ormolu") + (disableCabalFlag "cabal") (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; + stan = null; }) ]; |