Commit 98678926 authored by Edward Z. Yang's avatar Edward Z. Yang Committed by Edward Z. Yang
Browse files

Give more information about instantiation when configuring.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 25123866
......@@ -360,7 +360,13 @@ configure (pkg_descr0', pbi) cfg = do
Nothing -> setupMessage verbosity "Configuring" (packageId pkg_descr0)
Just cname -> notice verbosity
("Configuring component " ++ display cname ++
" from " ++ display (packageId pkg_descr0))
" from " ++ display (packageId pkg_descr0) ++
(if null (configInstantiateWith cfg)
then ""
else " with " ++ intercalate ", "
[ display k ++ "=" ++ display v
| (k,v) <- configInstantiateWith cfg ]) ++
"...")
-- configCID is only valid for per-component configure
when (isJust (flagToMaybe (configCID cfg)) && isNothing mb_cname) $
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment