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: