Skip to content

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

Closed
raboof wants to merge 1 commit intoNixOS:mainfrom
raboof:import-nixpkgs-single-attribute
Closed

flake-info: support importing a single nixpkgs attribute#916
raboof wants to merge 1 commit intoNixOS:mainfrom
raboof:import-nixpkgs-single-attribute

Conversation

@raboof
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Sure, changes are up at #934

@raboof
Copy link
Copy Markdown
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