Skip to content

feat: Support flake-parts-builder templates#25

Merged
vic merged 1 commit into
mainfrom
parts
Jul 21, 2025
Merged

feat: Support flake-parts-builder templates#25
vic merged 1 commit into
mainfrom
parts

Conversation

@vic
Copy link
Copy Markdown
Member

@vic vic commented Jul 21, 2025

No description provided.

Copilot AI review requested due to automatic review settings July 21, 2025 07:38
Copy link
Copy Markdown
Contributor

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 support for flake-parts-builder templates by implementing a new template system and reorganizing the flake-parts-builder module structure.

  • Replaces the existing flakeModules.flake-parts-builder with a new lib.flakeModules.flake-parts-builder function that accepts a path parameter
  • Introduces a new parts template with flake-parts-builder configuration and meta files
  • Updates documentation to reflect the new API and usage patterns

Reviewed Changes

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

Show a summary per file
File Description
modules/flake-parts-builder/default.nix New flake-parts-builder implementation with path parameter support
modules/flake-parts-builder/_bootstrap.nix Bootstrap utilities for loading flake-parts modules
modules/flake-parts-builder.nix Removed old flake-parts-builder implementation
modules/default.nix Updated to expose new lib.flakeModules.flake-parts-builder and parts template
templates/parts/* New template files demonstrating flake-parts-builder usage
dev/modules/regen.nix Added --accept-flake-config flag to commands
README.md Updated documentation for new API and template

Comment thread modules/flake-parts-builder/_bootstrap.nix
Comment thread templates/parts/flake.nix
Comment thread templates/parts/flake-parts/_meta/treefmt.nix
@vic vic merged commit 69a84d8 into main Jul 21, 2025
6 checks passed
@vic vic deleted the parts branch July 21, 2025 07:52
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