From 99a8b82c3e79141885a02ad0b7d259ef40c9ff4f Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 2 Jan 2024 17:12:22 +0000 Subject: 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 --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/haskell-modules') diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index c6b48129b6b4..d3b7d11ef93f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -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 don’t 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; -- cgit 1.4.1