Skip to content

Commit e014038

Browse files
committed
darwin-rebuild is now for root
1 parent 70beb30 commit e014038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/igm-switch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ fi
3030

3131
if $(uname -a | grep -q "Darwin"); then
3232
nix build "$FLAKE_PATH#$SYSTEM_CONFIG_ATTRIBUTE" $SHOW_TRACE || exit 1
33-
./result/sw/bin/darwin-rebuild switch --flake "$FLAKE_PATH#$(hostname)"
33+
sudo ./result/sw/bin/darwin-rebuild switch --flake "$FLAKE_PATH#$(hostname)"
3434
rm -r result
3535
fi

0 commit comments

Comments
 (0)