Skip to content

{flake,cabal}: update descriptions, drop apps#404

Merged
MattSturgeon merged 3 commits into
NixOS:masterfrom
MattSturgeon:descriptions
May 23, 2026
Merged

{flake,cabal}: update descriptions, drop apps#404
MattSturgeon merged 3 commits into
NixOS:masterfrom
MattSturgeon:descriptions

Conversation

@MattSturgeon
Copy link
Copy Markdown
Contributor

Small followup to #401.

New descriptions are based on the first line of README.md

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2026

Nixpkgs diff

Comment thread flake.nix Outdated
apps = mapResults (result: {
default.type = "app";
default.program = "${result}/bin/nixfmt";
default.meta.description = "Run nixfmt";
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This may not be enough justification to keep the apps output.

I'm happy to drop the apps output if you'd rather just have nix run use packages.default.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Your call.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll drop it and merge.

Comment thread flake.nix Outdated
apps = mapResults (result: {
default.type = "app";
default.program = "${result}/bin/nixfmt";
default.meta.description = "Run nixfmt";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Your call.

We didn't define `meta.description`, which is the main point of `apps`,
and `nix run` will default to `packages.<system>.default` anyway.
Based on the first line of README.md
Based on the first line of README.md
@MattSturgeon MattSturgeon enabled auto-merge May 23, 2026 17:45
@MattSturgeon MattSturgeon changed the title {flake,cabal}: update descriptions {flake,cabal}: update descriptions, drop apps May 23, 2026
@MattSturgeon MattSturgeon merged commit be2acc9 into NixOS:master May 23, 2026
2 checks passed
@MattSturgeon MattSturgeon deleted the descriptions branch May 23, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants