Skip to content

feat(flake): Add meta.mainProgram to the package for easier execution - #8

Merged
nikitawootten merged 1 commit into
nikitawootten:mainfrom
Adda0:mainprogram
Jun 7, 2026
Merged

nikitawootten merged 1 commit into
nikitawootten:mainfrom
Adda0:mainprogram

Conversation

@Adda0

@Adda0 Adda0 commented Jun 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds the meta attrset to the package derivation to allow for running lib.getExe inputs.flake-graph.packages.${system}.flake-graph}. Also defining both flake-graph and default flake packages to allow for referring to the package by name.

@nikitawootten nikitawootten left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the contribution! TIL about the internals of lib.getExe

@nikitawootten
nikitawootten merged commit a7b3ec7 into nikitawootten:main Jun 7, 2026
1 check passed
@Adda0
Adda0 deleted the mainprogram branch June 7, 2026 22:41
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