Skip to content

Commit

Permalink
fix(bud): regression in nixos-rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Infinidoge committed Mar 30, 2023
1 parent 7a6bdcf commit cb11e29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions shell/bud/buildthis.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
attr="$FLAKEROOT#$HOST"
if [ -x /run/wrappers/bin/sudo ]; then
export PATH=/run/wrappers/bin:$PATH
sudo nixos-rebuild --flake "$attr" "${@:-switch}"
else
nixos-rebuild --flake "$attr" "${@:-switch}"
fi
nixos-rebuild --flake "$attr" --use-remote-sudo "${@:-switch}"

0 comments on commit cb11e29

Please sign in to comment.