From 41fc2b38dd1ea069e74bb64ec17162149958ff0a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 18 Oct 2024 23:30:09 +0200 Subject: fix(modules/by-name-overlay.nix): Add missing `ESC`s to re-implemented `warn` --- modules/by-name-overlay.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/by-name-overlay.nix b/modules/by-name-overlay.nix index b96c1d25..4349e112 100644 --- a/modules/by-name-overlay.nix +++ b/modules/by-name-overlay.nix @@ -16,7 +16,7 @@ msg: v: # `builtins.warn` requires a string message, so we enforce that in our implementation, so that callers aren't accidentally incompatible with newer Nix versions. assert builtins.isString msg; - builtins.trace "[1;35mevaluation warning:[0m ${msg}" v + builtins.trace "evaluation warning: ${msg}" v ); # Same thing as flatten. mapAttrsToList = f: attrs: -- cgit 1.4.1