Skip to content

Conversation

@vic
Copy link
Owner

@vic vic commented Nov 18, 2025

See #99 (comment)

Fixes #99

@vic vic marked this pull request as ready for review November 18, 2025 23:45
Copilot AI review requested due to automatic review settings November 18, 2025 23:45
Copy link

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 extends the parametric aspects testing to include homeManager configuration, demonstrating that the parametric system works correctly with both NixOS and homeManager modules.

  • Refactored parametricStatics to parametric.statics in the library for better namespacing
  • Added homeManager test coverage to the parametric-with-owned test suite
  • Modified the test module structure to support both NixOS and homeManager imports

Reviewed Changes

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

File Description
templates/examples/modules/_example/ci/parametric-with-owned.nix Adds homeManager configuration and test assertions to verify parametric aspects work with homeManager, including module imports, owned configuration, and package settings
nix/lib.nix Refactors parametricStatics into parametric.statics for better namespacing, but contains a bug where the wrong parameter is passed to applyStatics

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

@vic vic force-pushed the parametric-hm branch 2 times, most recently from 668ad6d to cce7c07 Compare November 20, 2025 02:10
Copilot AI review requested due to automatic review settings November 20, 2025 02:10
Copy link

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

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


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

Copilot AI review requested due to automatic review settings November 20, 2025 04:04
Copy link

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

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


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

Copilot AI review requested due to automatic review settings November 20, 2025 05:16
@vic vic changed the title test parametric on homeManager Fix parametric dup values on homeManager Nov 20, 2025
Copy link

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

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


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

homeManager =
{ pkgs, ... }:
{
fwd.pkg = builtins.break pkgs.vim;
Copy link

Copilot AI Nov 20, 2025

Choose a reason for hiding this comment

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

The builtins.break function is being used here, which will cause evaluation to stop. This appears to be a debugging artifact that should be removed. The line should be fwd.pkg = pkgs.vim; instead.

Suggested change
fwd.pkg = builtins.break pkgs.vim;
fwd.pkg = pkgs.vim;

Copilot uses AI. Check for mistakes.
@vic vic merged commit 364b7f1 into main Nov 20, 2025
8 checks passed
@vic vic deleted the parametric-hm branch November 20, 2025 05:26
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