lib.warn: Fix color

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
Robert Hensing 2024-07-16 15:52:17 +02:00 committed by Robert Hensing
parent 4584ea0767
commit f621ab9204

View File

@ -711,7 +711,7 @@ in {
assert isString msg;
if mustAbort
then builtins.trace "evaluation warning: ${msg}" (abort "NIX_ABORT_ON_WARN=true; warnings are treated as unrecoverable errors.")
else builtins.trace "evaluation warning: ${msg}" v
else builtins.trace "evaluation warning: ${msg}" v
);
/**