Skip to content

Move from pkgs.system to pkgs.stdenv.hostPlatform.system#51

Merged
vic merged 1 commit into
mainfrom
system
Nov 21, 2025
Merged

Move from pkgs.system to pkgs.stdenv.hostPlatform.system#51
vic merged 1 commit into
mainfrom
system

Conversation

@vic
Copy link
Copy Markdown
Member

@vic vic commented Nov 21, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 21, 2025 06:00
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 modernizes the Nix code by replacing the deprecated pkgs.system attribute with the recommended pkgs.stdenv.hostPlatform.system pattern. This change improves cross-compilation support and aligns with current Nix best practices for platform detection.

  • Updates all instances of pkgs.system to use pkgs.stdenv.hostPlatform.system
  • Ensures consistent platform detection across package references

Reviewed Changes

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

File Description
modules/prune-lock/nix-auto-follow.nix Updates platform detection for nix-auto-follow package reference
modules/prune-lock/allfollow.nix Updates platform detection for allfollow package reference
dev/modules/regen.nix Updates platform detection in the exe helper function for self package references

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

@vic vic merged commit 801df19 into main Nov 21, 2025
13 checks passed
@vic vic deleted the system branch November 21, 2025 06:02
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