diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-10-20 19:08:16 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-10-22 07:42:06 -0400 |
commit | 1937016b7834338eef12be19caefc8e37a90cd29 (patch) | |
tree | 2ef29c6ff6f397a972d4735e93c8de3aa19a7de0 /hadrian | |
parent | 86e6549ea3090d0d79c2aaed8373ba5696f2b6a9 (diff) | |
download | haskell-1937016b7834338eef12be19caefc8e37a90cd29.tar.gz |
hadrian: Improve error for wrong key/value errors.
Diffstat (limited to 'hadrian')
-rwxr-xr-x | hadrian/src/Settings.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hadrian/src/Settings.hs b/hadrian/src/Settings.hs index 6a2fcfff2d..fd44af1916 100755 --- a/hadrian/src/Settings.hs +++ b/hadrian/src/Settings.hs @@ -74,7 +74,8 @@ flavour = do (settingErrs, tweak) = applySettings kvs when (not $ null settingErrs) $ fail - $ "failed to apply key-value settings:" ++ unlines (map (" - " ++) settingErrs) + $ "failed to apply key-value settings:\n\t" ++ unlines (map (" - " ++) settingErrs) ++ + "\t Entries should look something like \"stage1.containers.ghc.hs.opts += -Werror\"" case parseFlavour flavours flavourTransformers flavourName of Left err -> fail err |