Skip to content

Commit

Permalink
Merge pull request #5000 from nielsegberts/master
Browse files Browse the repository at this point in the history
toString also coerces a set with an outPath attribute to a string
  • Loading branch information
edolstra authored Jul 12, 2021
2 parents 02dff9e + ae0ed53 commit 099df07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/primops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3109,7 +3109,7 @@ static RegisterPrimOp primop_toString({
- A path (e.g., `toString /foo/bar` yields `"/foo/bar"`.
- A set containing `{ __toString = self: ...; }`.
- A set containing `{ __toString = self: ...; }` or `{ outPath = ...; }`.
- An integer.
Expand Down

0 comments on commit 099df07

Please sign in to comment.