replaceDependencies: show warnings as such

This commit is contained in:
Alois Wohlschlager 2024-06-07 18:35:36 +02:00 committed by Yureka
parent 3616cfb8d9
commit 6fc0699003

View File

@ -42,7 +42,6 @@
let
inherit (builtins) unsafeDiscardStringContext appendContext;
inherit (lib)
trace
listToAttrs
isStorePath
readFile
@ -55,7 +54,7 @@ let
inherit (lib.attrsets) mergeAttrsList;
toContextlessString = x: unsafeDiscardStringContext (toString x);
warn = if verbose then trace else (x: y: y);
warn = if verbose then lib.warn else (x: y: y);
referencesOf =
drv: