Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,6 @@ let
arg: lib.warn msg (v arg)
else if lib.isList v then
map (lib.warn msg) v
else if lib.isString v then
# Unlike the other cases, this changes the type of the value and
# is therefore a breaking change for some code, but it’s the best
# we can do.
{ __toString = lib.warn msg (lib.const v); }
else
# Can’t do better than this, and a `throw` would be more
# disruptive for users…
Expand Down
Loading