From 7a36582458547076a4aea2b1e5c66b0aa77c81d7 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 23 Jun 2024 19:31:31 +0200 Subject: [PATCH] haskellPackages.safe-exceptions: fix strictDeps build --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e1efb46422a3..696f32f63587 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -3135,4 +3135,9 @@ self: super: { hash = "sha256-tFOWpjGmZANC7H82QapZ36raaNWuZ6F3BgjxnfTXpMs="; }) super.proto3-wire; + safe-exceptions = overrideCabal (drv: { + # Fix strictDeps build error "could not execute: hspec-discover" + testToolDepends = drv.testToolDepends or [] ++ [ self.hspec-discover ]; + }) super.safe-exceptions; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super