[Nix-dev] string vs path hell

Luca Bruno lethalman88 at gmail.com
Mon Jun 9 15:13:20 CEST 2014


On 09/06/2014 15:01, Sergey Mironov wrote:
> 2014-06-09 16:34 GMT+04:00 Luca Bruno <lethalman88 at gmail.com>:
>> On 09/06/2014 14:32, Sergey Mironov wrote:
>>> lib.splitString "-" (toString (./some/valid/path))
>> Perhaps you should split by "/" instead of "-"?
> Sorry, this is my copypaste mistake. I've meant another file name. The
> correct code is
>
> lib.splitString "/" (toString (./some/valid/path))
>
> the problem does exist for me.
Works fine for me in nix-repl.


More information about the nix-dev mailing list