Skip to content

Commit cdc2f91

Browse files
authored
Merge pull request #4232 from phadej/whitelist-hspec-discover
Add whitelist hspec-discover
2 parents 5ee961c + 711a0a5 commit cdc2f91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cabal/Distribution/Simple/BuildToolDepends.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ desugarBuildTool pkg led =
3939
toolName = mkUnqualComponentName name
4040
foundLocal = toolName `elem` map exeName (executables pkg)
4141
whitelist = [ "hscolour", "haddock", "happy", "alex", "hsc2hs", "c2hs"
42-
, "cpphs", "greencard"]
42+
, "cpphs", "greencard", "hspec-discover"
43+
]
4344
whiteMap = Map.fromList $ flip map whitelist $ \n ->
4445
(n, ExeDependency (mkPackageName n) (mkUnqualComponentName n) reqVer)
4546

0 commit comments

Comments
 (0)