Skip to content

Commit

Permalink
replaceDependencies: show warnings as such
Browse files Browse the repository at this point in the history
  • Loading branch information
alois31 authored and Yureka committed Sep 24, 2024
1 parent 3e2ff7f commit 3b78fd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/build-support/replace-dependencies.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
let
inherit (builtins) unsafeDiscardStringContext appendContext;
inherit (lib)
trace
listToAttrs
isStorePath
readFile
Expand All @@ -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:
Expand Down

0 comments on commit 3b78fd1

Please sign in to comment.