From 2e9ff9aa98d6972757b5833d23969891e776d561 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 18 Feb 2023 18:27:23 +0100 Subject: haskell.packages.*.ghc-tags: pick compatible version Since there is probably more movement going forward, testing this on Hydra for multiple GHC versions seems sensible. --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix') 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 c9b864800d042..1c72ed517797a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -87,6 +87,9 @@ self: super: { # For -fghc-lib see cabal.project in haskell-language-server. stylish-haskell = enableCabalFlag "ghc-lib" super.stylish-haskell; + # Needs to match ghc version + ghc-tags = doDistribute self.ghc-tags_1_5; + # For "ghc-lib" flag see https://github.com/haskell/haskell-language-server/issues/3185#issuecomment-1250264515 hlint = enableCabalFlag "ghc-lib" super.hlint; -- cgit 1.4.1