haskell.packages.ghc865Binary.exceptions: restore package, use 0.10.7 version

In https://github.com/NixOS/nixpkgs/pull/278074 I removed `exception`
completely. But `nixpkgs` has a version of `exceptions we could use.
Let's enable that instead.

Co-authored-by: Dennis Gosnell <cdep.illabout@gmail.com>
This commit is contained in:
Sergei Trofimovich 2024-01-02 17:12:22 +00:00
parent 9ee264e4b9
commit 99a8b82c3e

View File

@ -95,7 +95,7 @@ self: super: {
ghc-lib-parser-ex = addBuildDepend self.ghc-lib-parser super.ghc-lib-parser-ex;
# This became a core library in ghc 8.10., so we dont have an "exception" attribute anymore.
exceptions = null;
exceptions = self.exceptions_0_10_7;
# Older compilers need the latest ghc-lib to build this package.
hls-hlint-plugin = addBuildDepend self.ghc-lib super.hls-hlint-plugin;