Skip to content

Add support for submodules input attribute - #40

Merged
vic merged 2 commits into
denful:mainfrom
binarin:main
Nov 6, 2025
Merged

vic merged 2 commits into
denful:mainfrom
binarin:main

Conversation

@binarin

@binarin binarin commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

It's supported by flakes itself

Copilot AI review requested due to automatic review settings November 6, 2025 11:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 the submodules option to flake inputs, allowing users to specify whether git submodules should be checked out when fetching a flake input.

  • Added a new submodules option definition with boolean type to the inputs configuration schema
  • Integrated the submodules attribute into the input expression merging logic

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
modules/options/inputs.nix Defines the new submodules option with description, default value (null), and type (nullable boolean)
dev/modules/_lib/default.nix Adds submodules to the list of attributes that are merged when processing input expressions

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

Comment thread modules/options/inputs.nix Resolved
@vic

vic commented Nov 6, 2025

Copy link
Copy Markdown
Member

Thank you!

@vic
vic merged commit c8fe40c into denful:main Nov 6, 2025
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.

3 participants