fix(rebuild): restore both trusted Homebrew taps before switch
This commit is contained in:
1 parent
e4c67f0080
commit
80fb47f050
3 files changed
+44
-2
No files matched your search
@@ -195,6 +195,14 @@ else
|
||||
echo "==> WARNING: flake update failed. Continuing with locked inputs."
|
||||
fi
|
||||
|
||||
# Trust third-party Homebrew taps before the switch. `brew bundle` refuses to
|
||||
# install formulae from an untrusted tap, and a trust can revert between runs.
|
||||
# The whisper-cpp rename notice is only a warning and stays harmless here.
|
||||
if command -v brew >/dev/null 2>&1; then
|
||||
brew trust can1357/tap 2>/dev/null || true
|
||||
brew trust incoai/tap 2>/dev/null || true
|
||||
fi
|
||||
|
||||
sudo darwin-rebuild switch --flake ~/.dotfiles#lt-mbp
|
||||
|
||||
# Update tracked skills after activation. Exclude security-audit to preserve
|
||||
|
||||
Reference in new issue
Block a user