diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index e2dc2dbe35e..15dca1c0bc5 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -454,4 +454,8 @@ self: super: builtins.intersectAttrs super { export PATH="$PWD/dist/build/intero:$PATH" ''; }); + + # loc and loc-test depend on each other for testing. Break that infinite cycle: + loc-test = super.loc-test.override { loc = dontCheck self.loc; }; + }