Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C API: nix_init_path_string unclear #10613

Open
roberth opened this issue Apr 26, 2024 · 0 comments
Open

C API: nix_init_path_string unclear #10613

roberth opened this issue Apr 26, 2024 · 0 comments
Labels
bug c api Nix as a C library with a stable interface
Milestone

Comments

@roberth
Copy link
Member

roberth commented Apr 26, 2024

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 👍 to issues you find important.

@roberth roberth added bug c api Nix as a C library with a stable interface labels Apr 26, 2024
@roberth roberth added this to the Stable C API milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug c api Nix as a C library with a stable interface
Projects
None yet
Development

No branches or pull requests

1 participant