From f95d327f4e00792b8e6806b03ec6d294f181c2f4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 21 Feb 2020 12:02:00 +0100 Subject: [PATCH] haskell-primitive: avoid infinite recursion during evaluation --- 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 813ab160a2cf..da63ec0c22a0 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -706,4 +706,8 @@ self: super: builtins.intersectAttrs super { wrapProgram $out/bin/mplayer-spot --prefix PATH : "${path}" ''; }); + + # break infinite recursion with base-orphans + primitive = dontCheck super.primitive; + }