Fix ANSI escape in warning messages
Seems to have been broken by accident in 7d1ddae58e465a1708967c9fee651c33819969c6.
This commit is contained in:
parent
32e41c2280
commit
88412c865d
@ -88,7 +88,7 @@ let
|
|||||||
|
|
||||||
failed = map (x: x.message) (filter (x: !x.assertion) config.assertions);
|
failed = map (x: x.message) (filter (x: !x.assertion) config.assertions);
|
||||||
|
|
||||||
showWarnings = res: fold (w: x: builtins.trace "^[[1;31mwarning: ${w}^[[0m" x) res config.warnings;
|
showWarnings = res: fold (w: x: builtins.trace "[1;31mwarning: ${w}[0m" x) res config.warnings;
|
||||||
|
|
||||||
# Putting it all together. This builds a store path containing
|
# Putting it all together. This builds a store path containing
|
||||||
# symlinks to the various parts of the built configuration (the
|
# symlinks to the various parts of the built configuration (the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user