about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-02-18 18:27:23 +0100
committersternenseemann <sternenseemann@systemli.org>2023-02-18 20:16:36 +0100
commit2e9ff9aa98d6972757b5833d23969891e776d561 (patch)
tree0197c0f2aa5d018103db886f3e964edd99849b63 /pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
parentfaa46049d247872d0ac5c48e6b371c2263bb7e95 (diff)
downloadnixlib-2e9ff9aa98d6972757b5833d23969891e776d561.tar
nixlib-2e9ff9aa98d6972757b5833d23969891e776d561.tar.gz
nixlib-2e9ff9aa98d6972757b5833d23969891e776d561.tar.bz2
nixlib-2e9ff9aa98d6972757b5833d23969891e776d561.tar.lz
nixlib-2e9ff9aa98d6972757b5833d23969891e776d561.tar.xz
nixlib-2e9ff9aa98d6972757b5833d23969891e776d561.tar.zst
nixlib-2e9ff9aa98d6972757b5833d23969891e776d561.zip
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.
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.nix3
1 files changed, 3 insertions, 0 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 c9b864800d04..1c72ed517797 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;