From 890fd54fdeb90fa3fc4ef37f84de023c058e6a13 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 9 May 2017 10:56:22 +0200 Subject: [PATCH] haskell-loc-test: break infinite recursion in test dependencies --- pkgs/development/haskell-modules/configuration-nix.nix | 4 ++++ 1 file changed, 4 insertions(+) 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; }; + }