[Nix-dev] string vs path hell

Sergey Mironov grrwlf at gmail.com
Mon Jun 9 15:01:06 CEST 2014


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.


More information about the nix-dev mailing list