summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorZubin Duggal <zubin.duggal@gmail.com>2021-07-06 15:40:43 +0530
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-08-03 10:15:11 -0400
commitbbee89ddfe4b5df14e76d70d92b40648bd5d88b1 (patch)
tree3189ae95c8bd4006f8cbab6207b97843e2cf361e /hadrian
parentc248e7cc19b27130542a4ff3227ec99d9d50b8d1 (diff)
downloadhaskell-bbee89ddfe4b5df14e76d70d92b40648bd5d88b1.tar.gz
Remove hschooks.c and -no-hs-main for ghc-bin
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Packages.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Packages.hs b/hadrian/src/Packages.hs
index f75236cd9a..1a7fbbe5cd 100644
--- a/hadrian/src/Packages.hs
+++ b/hadrian/src/Packages.hs
@@ -179,7 +179,7 @@ timeoutPath = "testsuite/timeout/install-inplace/bin/timeout" <.> exe
-- TODO: Can we extract this information from Cabal files?
-- | Some program packages should not be linked with Haskell main function.
nonHsMainPackage :: Package -> Bool
-nonHsMainPackage = (`elem` [ghc, hp2ps, iserv, touchy, unlit, ghciWrapper])
+nonHsMainPackage = (`elem` [hp2ps, iserv, touchy, unlit, ghciWrapper])
-- TODO: Combine this with 'programName'.
-- | Path to the @autogen@ directory generated by 'buildAutogenFiles'.