I've been writing some nix functions that used `builtins.toPath`, and
getting some strange error messages. That led to the following repl session:

nix-repl> :t "/home"
a string

nix-repl> :t /home
a path

nix-repl> :t builtins.toPath "/home"
a string

That has to be a bug, no? Or am I totally misunderstanding the purpose of
`builtins.tPath`?

Ben
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to