mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
lib.warn: Fix color
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
parent
4584ea0767
commit
f621ab9204
@ -711,7 +711,7 @@ in {
|
||||
assert isString msg;
|
||||
if mustAbort
|
||||
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
|
||||
);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user