diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-12-28 14:10:41 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-12-28 14:10:41 +0100 |
commit | e238c3fdaab710a2ce0135e5a77cd7e6bb023a22 (patch) | |
tree | f02a6914c8d69dfeb53dd4288300e24d78440696 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | |
parent | 9fdbe9dd4604cb90d6c42060af3c0ed5debaa2a3 (diff) | |
download | nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.tar nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.tar.gz nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.tar.bz2 nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.tar.lz nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.tar.xz nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.tar.zst nixlib-e238c3fdaab710a2ce0135e5a77cd7e6bb023a22.zip |
haskell.packages.*.binary-orphans: provide OneTuple when necessary
The binary-orphans dependency on OneTuple is only activated if GHC < 9.2 which means hackage2nix won't emit this dependency anymore.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 0c75456735b7..00ecac6db57e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -205,6 +205,9 @@ self: super: { # https://github.com/mrkkrp/megaparsec/pull/485#issuecomment-1250051823 megaparsec = doJailbreak super.megaparsec; + # Needs OneTuple for ghc < 9.2 + binary-orphans = addBuildDepends [ self.OneTuple ] super.binary-orphans; + # Later versions only support GHC >= 9.2 ghc-exactprint = self.ghc-exactprint_0_6_4; apply-refact = self.apply-refact_0_9_3_0; |