[Nix-dev] string vs path hell

Sergey Mironov grrwlf at gmail.com
Mon Jun 9 14:32:15 CEST 2014


Hi. I've faced a path/string problem. Looks like the code

lib.splitString "-" (toString (./some/valid/path))

returns [ "./some/valid/path" ] instead of [ "some" "valid" "path" ]

in other words, looks like paths are treated in a some special way.

Is it a known issue?

Regards,
Sergey


More information about the nix-dev mailing list