Skip to content

fix: flake attributes order. - #6

Merged
vic merged 1 commit into
mainfrom
order
Jul 15, 2025
Merged

vic merged 1 commit into
mainfrom
order

Conversation

@vic

@vic vic commented Jul 15, 2025

Copy link
Copy Markdown
Member

flake-file now generates attributes in the following order:

  • description
  • outputs
  • nixConfig
  • inputs

The reason is that inputs tend to grow the more, nixConfig not so, and the other two attributes are mostly static along the life of a project.

Fixes #5

Copilot AI review requested due to automatic review settings July 15, 2025 06:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

@vic
vic force-pushed the order branch 13 times, most recently from 975bf53 to 7d7a6a4 Compare July 15, 2025 08:40
flake-file now generates attributes in the following order:

- description
- outputs
- nixConfig
- inputs

The reason is that inputs tend to grow the more, nixConfig not so, and the
other two attributes are mostly static along the life of a project.


Fixes 5
@vic
vic merged commit dae8ba6 into main Jul 15, 2025
@vic
vic deleted the order branch July 15, 2025 08:58
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.

Allow modifcation of attribute order in flake.nix

2 participants