You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an attr set contains a member __toString, it will be called whenever the attr set is coerced to a string, received the same attr set as its argument. The result is then coerced to a string.
I've added support in Exec.hs, but for now it only applies when coercing for derivation. We need to use this coerceToString function in the same places that nix does.
If an attr set contains a member
__toString
, it will be called whenever the attr set is coerced to a string, received the same attr set as its argument. The result is then coerced to a string.See https://github.com/NixOS/nix/blob/master/src/libexpr/eval.cc#L1538
The text was updated successfully, but these errors were encountered: