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

Expose some parts in a Rust crate #5

Open
figsoda opened this issue Sep 8, 2023 · 1 comment
Open

Expose some parts in a Rust crate #5

figsoda opened this issue Sep 8, 2023 · 1 comment

Comments

@figsoda
Copy link
Member

figsoda commented Sep 8, 2023

In a conversation in the Nixpkgs Architecture Team matrix, it was brought up that maybe the structure of name-based package directories can be exposed as an API.

My proposal is that maybe some constants and functions from check-by-name should be exposed in a Rust crate:
https://github.com/NixOS/nixpkgs/blob/7dc6783ecf8ae22c4a89a6ca4be74de238262045/pkgs/test/nixpkgs-check-by-name/src/structure.rs#L9-L10
https://github.com/NixOS/nixpkgs/blob/7dc6783ecf8ae22c4a89a6ca4be74de238262045/pkgs/test/nixpkgs-check-by-name/src/structure.rs#L28

cc @nixpkgs-architecture @nixpkgs-architecture/team

@figsoda
Copy link
Member Author

figsoda commented Sep 8, 2023

since the nixpkgs-architecture ping didn't seem to work: @infinisil @roberth

@infinisil infinisil transferred this issue from NixOS/nixpkgs Mar 18, 2024
@infinisil infinisil changed the title Expose some parts of check-by-name in a Rust crate Expose some parts in a Rust crate Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant