diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2024-10-22 22:38:17 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2024-10-23 01:29:01 +1100 |
| commit | 8c02940d702170feea7947f768aa807c11b65a41 (patch) | |
| tree | 4a7de30304141ae3bebaf95a62bae74914238580 /pkgs | |
| parent | 9ee30f253432d3a059411d28aa05638a92ea8c71 (diff) | |
users: ensure Full Disk Access is granted before trying to delete users
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/nix-tools/darwin-rebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh index c0ea55b..325cf50 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -23,7 +23,7 @@ sudo() { if command sudo --help | grep -- --preserve-env= >/dev/null; then # We use `env` before our command to ensure the preserved PATH gets checked # when trying to resolve the command to execute - command sudo -H --preserve-env=PATH env "$@" + command sudo -H --preserve-env=PATH --preserve-env=SSH_CONNECTION env "$@" else command sudo -H "$@" fi |
