lib.warn: Fix color
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
committed by
Robert Hensing
parent
4584ea0767
commit
f621ab9204
@@ -711,7 +711,7 @@ in {
|
|||||||
assert isString msg;
|
assert isString msg;
|
||||||
if mustAbort
|
if mustAbort
|
||||||
then builtins.trace "[1;31mevaluation warning: ${msg}[0m" (abort "NIX_ABORT_ON_WARN=true; warnings are treated as unrecoverable errors.")
|
then builtins.trace "[1;31mevaluation warning: ${msg}[0m" (abort "NIX_ABORT_ON_WARN=true; warnings are treated as unrecoverable errors.")
|
||||||
else builtins.trace "[1;31mevaluation warning: ${msg}[0m" v
|
else builtins.trace "[1;35mevaluation warning: ${msg}[0m" v
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user