summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Packages.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index b0e012d31e..9e43459a0f 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -132,6 +132,13 @@ packageArgs = do
builder (Cabal Flags) ? arg "in-ghc-tree"
------------------------------- haskeline ------------------------------
+ -- Hadrian doesn't currently support packages containing both libraries
+ -- and executables. This flag disables the latter.
+ , package haskeline ?
+ builder (Cabal Flags) ? arg "-examples"
+ -- Don't depend upon terminfo when cross-compiling to avoid unnecessary
+ -- dependencies.
+ -- TODO: Perhaps the user should rather be responsible for this?
, package haskeline ?
builder (Cabal Flags) ? cross ? arg "-terminfo"