From f84aef8b01dde777aecb1b277b1f1701381dd328 Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Mon, 24 Jan 2022 10:11:10 +0900 Subject: [PATCH] arbtt: jailbreak because of tasty-golden version constraint --- pkgs/development/haskell-modules/configuration-common.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e4dc26dece49..ddc9f47c0453 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1110,14 +1110,16 @@ self: super: { # https://github.com/elliottt/hsopenid/issues/15 openid = markBroken super.openid; - # The test suite needs the packages's executables in $PATH to succeed. - arbtt = overrideCabal (drv: { + # Version constraints on test dependency tasty-golden need to be relaxed: + # https://github.com/nomeata/arbtt/pull/146 + arbtt = doJailbreak (overrideCabal (drv: { + # The test suite needs the packages's executables in $PATH to succeed. preCheck = '' for i in $PWD/dist/build/*; do export PATH="$i:$PATH" done ''; - }) super.arbtt; + }) super.arbtt); # https://github.com/erikd/hjsmin/issues/32 hjsmin = dontCheck super.hjsmin;