From 9ef816e776281963e4780e8779961bc2d0e9f554 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Mon, 25 Jun 2018 16:56:27 -0400 Subject: [PATCH] with-location: add hspec-discover --- pkgs/development/haskell-modules/configuration-common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 39bdfe3fd03..7b992dfc016 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1036,7 +1036,7 @@ self: super: { # The test suite does not know how to find the 'alex' binary. alex = overrideCabal super.alex (drv: { - testToolDepends = (drv.testSystemDepends or []) ++ [ buildPackages.which ]; + testToolDepends = (drv.testToolDepends or []) ++ [ buildPackages.which ]; preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"''; }); @@ -1104,6 +1104,7 @@ self: super: { # The build-tool-depends this hacks around has been added on master. base-compat = addTestToolDepend super.base-compat self.hspec-discover; + with-location = addTestToolDepend super.with-location self.hspec-discover; } //