Skip to content

A Nix query language? #13146

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

Open
roberth opened this issue May 7, 2025 · 1 comment
Open

A Nix query language? #13146

roberth opened this issue May 7, 2025 · 1 comment
Labels
feature Feature request or proposal language The Nix expression language; parser, interpreter, primops, evaluation, etc new-cli Relating to the "nix" command UX The way in which users interact with Nix. Higher level than UI.

Comments

@roberth
Copy link
Member

roberth commented May 7, 2025

the main reason we wrote https://github.com/clan-lol/nix-select was that the nix language is quite limited (but it doesn't have to be). We would be very happy if the builtin selection language inside nix could take some (or all?) of the features from nix-select :)

Originally posted by @Lassulus in #13140

@roberth roberth mentioned this issue May 7, 2025
2 tasks
@roberth
Copy link
Member Author

roberth commented May 7, 2025

This would ideally fit into the existing language and be concise enough for command line use.
Ideally we coordinate this to be a superset and generalization of #13140 that returns multiple, structured results instead of identifying a single value.

Related ideas

@roberth roberth added feature Feature request or proposal UX The way in which users interact with Nix. Higher level than UI. new-cli Relating to the "nix" command language The Nix expression language; parser, interpreter, primops, evaluation, etc labels May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or proposal language The Nix expression language; parser, interpreter, primops, evaluation, etc new-cli Relating to the "nix" command UX The way in which users interact with Nix. Higher level than UI.
Projects
None yet
Development

No branches or pull requests

1 participant