Skip to content

Commit 6b4df34

Browse files
committed
Remove bad haskell-suite hack
1 parent bd1e988 commit 6b4df34

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Cabal/src/Distribution/Simple/Program/Builtin.hs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,8 @@ hpcProgram =
227227
haskellSuiteProgram :: Program
228228
haskellSuiteProgram =
229229
(simpleProgram "haskell-suite")
230-
{ -- pretend that the program exists, otherwise it won't be in the
231-
-- "configured" state
232-
programFindLocation = \_verbosity _searchPath ->
233-
return $ Just ("haskell-suite-dummy-location", [])
230+
{ programFindLocation = \_verbosity _searchPath ->
231+
return Nothing
234232
}
235233

236234
-- This represent a haskell-suite package manager. See the comments for
@@ -239,7 +237,7 @@ haskellSuitePkgProgram :: Program
239237
haskellSuitePkgProgram =
240238
(simpleProgram "haskell-suite-pkg")
241239
{ programFindLocation = \_verbosity _searchPath ->
242-
return $ Just ("haskell-suite-pkg-dummy-location", [])
240+
return Nothing
243241
}
244242

245243
happyProgram :: Program

0 commit comments

Comments
 (0)