Skip to content

flake-info: support importing a single nixpkgs attribute #916

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

Closed
wants to merge 1 commit into from

Conversation

raboof
Copy link
Member

@raboof raboof commented Apr 26, 2025

to make testing somewhat faster

to make testing somewhat faster
@raboof raboof changed the title Support importing a single nixpkgs attribute flake-info: support importing a single nixpkgs attribute Apr 26, 2025
@raboof raboof mentioned this pull request Apr 26, 2025
@Jaculabilis
Copy link
Contributor

If this is intended to make testing faster, it might be a good idea to have this force --kind package, since otherwise it will import just the one package attribute... and then thousands of NixOS options, which isn't very fast.

@raboof
Copy link
Member Author

raboof commented May 15, 2025

If this is intended to make testing faster, it might be a good idea to have this force --kind package, since otherwise it will import just the one package attribute... and then thousands of NixOS options, which isn't very fast.

Good point: I had that locally at some point but apparently didn't commit it to this branch - was juggling so many unmerged branches :)

Would you be interested in creating a new PR with this change but enhanced to imply --kind package in this case?

@Jaculabilis
Copy link
Contributor

Sure, changes are up at #934

@raboof
Copy link
Member Author

raboof commented May 15, 2025

superseded by #934

@raboof raboof closed this May 15, 2025
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

Successfully merging this pull request may close these issues.

2 participants