Skip to content

feat(apply): Allow deploying pre-built closures#166

Merged
water-sucks merged 1 commit intonix-community:mainfrom
Sporif:apply-feat-store-path
Feb 4, 2026
Merged

feat(apply): Allow deploying pre-built closures#166
water-sucks merged 1 commit intonix-community:mainfrom
Sporif:apply-feat-store-path

Conversation

@Sporif
Copy link
Copy Markdown
Collaborator

@Sporif Sporif commented Feb 2, 2026

This adds a --store-path flag for deploying pre-built closures instead of building. This feature was recently added to nixos-rebuild (see NixOS/nixpkgs@d8fe9f45).

Differences in this implementation:

  • Don't ignore --build-host since the store path is copied to the target host anyway.
  • Ignore --upgrade[-all] since there is no point in upgrading channels when not building.

Copy link
Copy Markdown
Collaborator

@water-sucks water-sucks left a comment

Choose a reason for hiding this comment

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

This is great! Thanks again for keeping feature parity with nixos-rebuild.

@water-sucks water-sucks merged commit e9d592e into nix-community:main Feb 4, 2026
2 checks passed
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