From 54a19eec61220e84cb7e9e59ddd18791894a2799 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 22 Nov 2022 17:59:14 +0100 Subject: [PATCH] haskell.packages.ghc92.ghc-lib-parser-ex: use stackage version This unbreaks hlint which constrains it to < 9.2.1. --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 4 +--- 1 file changed, 1 insertion(+), 3 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 94cca5270164..7a39d50397b0 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -95,8 +95,6 @@ self: super: { self.data-default ] ++ drv.libraryHaskellDepends or []; }) super.ghc-exactprint; - ghc-lib-parser = doDistribute super.ghc-lib-parser; - ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_2_1_1; hackage-security = doJailbreak super.hackage-security; hashable-time = doJailbreak super.hashable-time; HTTP = overrideCabal (drv: { postPatch = "sed -i -e 's,! Socket,!Socket,' Network/TCP.hs"; }) (doJailbreak super.HTTP); @@ -152,7 +150,7 @@ self: super: { stylish-haskell = enableCabalFlag "ghc-lib" super.stylish-haskell; # For "ghc-lib" flag see https://github.com/haskell/haskell-language-server/issues/3185#issuecomment-1250264515 - hlint = doDistribute (enableCabalFlag "ghc-lib" super.hlint); + hlint = enableCabalFlag "ghc-lib" super.hlint; # https://github.com/sjakobi/bsb-http-chunked/issues/38 bsb-http-chunked = dontCheck super.bsb-http-chunked;