nix-pills/pills/06/tostring.txt
Matan Bendix Shenhav e302529c5f Ported Pill 6.
2017-08-13 19:30:56 +03:00

4 lines
No EOL
151 B
Text

nix-repl> builtins.toString { outPath = "foo"; }
"foo"
nix-repl> builtins.toString { a = "b"; }
error: cannot coerce a set to a string, at (string):1:1