From eb1e07865eeee2523a12d6630c84283e1784fe52 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 29 May 2020 18:23:30 +0200 Subject: [PATCH] haskell-devtools: break infinite recursion with mprelude --- pkgs/development/haskell-modules/configuration-nix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index b64205a5ebcd..db627581d8cd 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -542,6 +542,9 @@ self: super: builtins.intersectAttrs super { # Break infinite recursion cycle between tasty and clock. clock = dontCheck super.clock; + # Break infinite recursion cycle between devtools and mprelude. + devtools = super.devtools.override { mprelude = dontCheck super.mprelude; }; + # loc and loc-test depend on each other for testing. Break that infinite cycle: loc-test = super.loc-test.override { loc = dontCheck self.loc; };