Repository navigation
darwin: run activate-user only when it exists - #239
Open
KakatkarAkshay wants to merge 1 commit into
Open
KakatkarAkshay wants to merge 1 commit into
KakatkarAkshay wants to merge 1 commit into
Conversation
nix-darwin no longer builds activate-user since nix-darwin/nix-darwin#1825, so every deployment failed before running activate. Older nix-darwin systems still ship it, so it is still run when present.
This was referenced Nov 23, 2026
matteo-pacini
added a commit
to matteo-pacini/nixos-configs
that referenced
this pull request
Nov 26, 2026
nix-darwin stopped building activate-user (nix-darwin/nix-darwin#1825), which reached us with the #514 flake update. comin v0.14.0 still runs it unconditionally, so NightSprings and WorkLaptop fail every deploy before activate runs. Patch comin with a port of nlewo/comin#239 to v0.14.0: run activate-user only when it exists. Waits on that PR being merged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
thinceller
added a commit
to thinceller/dotfiles
that referenced
this pull request
Nov 29, 2026
…y を直す (#167) nix-darwin #1825 (af20ff1) で activate-user が削除され、comin の darwin executor が activate-user を必ず実行するため mac-mini への deploy が失敗 していた (nlewo/comin#238)。修正 PR nlewo/comin#239 が入った comin に上げる まで、nix-darwin を #1825 直前の 99de553 に固定する。 - update.yml の pinned に nix-darwin を追加 - mac-mini-deploy.md に固定の経緯と comin の自己 reload 問題 (nlewo/comin#231) を追記 Claude-Session: https://claude.ai/code/session_01KHUAgb7GVwa1Xb578NXQdQ Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #238.
nix-darwin no longer builds
<system>/activate-user(nix-darwin/nix-darwin#1825). comin still ran it unconditionally, so every Darwin deployment against current nix-darwin failed beforeactivateran.comin now runs
activate-useronly when it exists, as proposed in #238. Older nix-darwin systems still ship it, so they keep working.The new test calls
switchToConfigurationDarwinon an out path with and withoutactivate-user. Without the fix, the second case fails withfork/exec .../activate-user: no such file or directory.