From 6fc0699003d64e9c884eca15f162b0125020aef7 Mon Sep 17 00:00:00 2001 From: Alois Wohlschlager Date: Fri, 7 Jun 2024 18:35:36 +0200 Subject: [PATCH] replaceDependencies: show warnings as such --- pkgs/build-support/replace-dependencies.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/build-support/replace-dependencies.nix b/pkgs/build-support/replace-dependencies.nix index c276b3e09e49..780ede9d019a 100644 --- a/pkgs/build-support/replace-dependencies.nix +++ b/pkgs/build-support/replace-dependencies.nix @@ -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: