Skip to content

Feat/app meta description#4

Merged
neodymium6 merged 2 commits intomainfrom
feat/app-meta-description
Feb 19, 2026
Merged

Feat/app meta description#4
neodymium6 merged 2 commits intomainfrom
feat/app-meta-description

Conversation

@neodymium6
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 19, 2026 09:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds meta.description attributes to Nix flake apps across the repository and improves code formatting. The main purpose is to provide human-readable descriptions for the apps that can potentially be displayed when listing available apps.

Changes:

  • Added meta.description fields to all flake app definitions (main flake and template flakes)
  • Reformatted Nix code to use multi-line attribute sets for better readability
  • Updated formatting commands in justfile and .pre-commit-config.yaml to format all .nix files instead of just flake.nix

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
flake.nix Added meta.description to new and default apps; reformatted for readability
templates/python/flake.nix Added meta.description to init and default apps; reformatted for readability
templates/flake/flake.nix Added meta.description to init and default apps; reformatted for readability
justfile Updated fmt command to format all .nix files instead of just flake.nix
.pre-commit-config.yaml Updated nix-fmt hook to format all .nix files instead of just flake.nix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +61 to +66
meta.description = "Bootstrap the Python template into the current directory.";
};
default = {
type = "app";
program = "${init}/bin/init";
meta.description = "Bootstrap the Python template into the current directory.";
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

The meta.description attribute is being added to flake apps. As of the Nix flake specification known up to January 2025, flake apps only officially support type and program attributes. While Nix may have added support for meta.description after that date, or it may be silently ignored, this should be verified to ensure it functions as intended and doesn't cause validation errors when the flake is evaluated.

Suggested change
meta.description = "Bootstrap the Python template into the current directory.";
};
default = {
type = "app";
program = "${init}/bin/init";
meta.description = "Bootstrap the Python template into the current directory.";
};
default = {
type = "app";
program = "${init}/bin/init";

Copilot uses AI. Check for mistakes.
Comment thread templates/flake/flake.nix
Comment on lines +61 to +66
meta.description = "Bootstrap the flake template into the current directory.";
};
default = {
type = "app";
program = "${init}/bin/init";
meta.description = "Bootstrap the flake template into the current directory.";
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

The meta.description attribute is being added to flake apps. As of the Nix flake specification known up to January 2025, flake apps only officially support type and program attributes. While Nix may have added support for meta.description after that date, or it may be silently ignored, this should be verified to ensure it functions as intended and doesn't cause validation errors when the flake is evaluated.

Suggested change
meta.description = "Bootstrap the flake template into the current directory.";
};
default = {
type = "app";
program = "${init}/bin/init";
meta.description = "Bootstrap the flake template into the current directory.";
};
default = {
type = "app";
program = "${init}/bin/init";

Copilot uses AI. Check for mistakes.
Comment thread flake.nix
@neodymium6 neodymium6 merged commit 1c94a66 into main Feb 19, 2026
7 checks passed
@neodymium6 neodymium6 deleted the feat/app-meta-description branch February 19, 2026 09:20
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