Skip to content

chore: add nix metadata#205

Merged
fdncred merged 2 commits into
nushell:mainfrom
KP64:chore/metadata
Jul 16, 2026
Merged

chore: add nix metadata#205
fdncred merged 2 commits into
nushell:mainfrom
KP64:chore/metadata

Conversation

@KP64

@KP64 KP64 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Description of changes

Added metadata for the nix package to allow easier usage in regards to the getExe function.
The following evaluation warning is fixed with this change.

evaluation warning: getExe: Package nufmt does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".

Relevant Issues

None.

The metadata allow easier usage of the flake's package in regards to the `getExe` function.
@fdncred

fdncred commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

I landed #206 to clean up this CI error. If you merge main it should get the ci green again.

@KP64

KP64 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Merged. Should be ready now :3

@fdncred fdncred merged commit cae92f7 into nushell:main Jul 16, 2026
5 checks passed
@fdncred

fdncred commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Thanks

@KP64 KP64 deleted the chore/metadata branch July 16, 2026 19:15
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