nix icon indicating copy to clipboard operation
nix copied to clipboard

C API: `nix_init_path_string` unclear

Open roberth opened this issue 1 year ago • 0 comments

Describe the bug

nix_init_path_string has incomplete documentation and/or behavior problem.

Path values are internally represented by absolute paths. Probably the argument needs to be absolute too.

Also note that we plan to have paths that aren't on the system, such as lazily fetched sources with fetchTree.

A better name may be nix_init_path_from_absolute_path_string.

Priorities

Add :+1: to issues you find important.

roberth avatar Apr 26 '24 17:04 roberth