diff options
| author | Roman Novak <rawman.novak@gmail.com> | 2023-11-09 18:09:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-09 18:09:45 +0100 |
| commit | a4b4cf70dcf93353ff49a227a012b62cdc9629f8 (patch) | |
| tree | 4b6aee8a3052fa698775a9ff382abd75cb6850a1 /pkgs | |
| parent | 26a59d504b69448c1a7f1527ffc3f5e4999821fb (diff) | |
Update pkgs/nix-tools/darwin-rebuild.sh
Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
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 b1b227a..47c2e31 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -215,7 +215,7 @@ if [ "$action" = switch ] || [ "$action" = activate ] || [ "$action" = rollback "$systemConfig/activate-user" if [ "$USER" != root ]; then - sudo -H --preserve-env=PATH env "$systemConfig/activate" + sudo -H --preserve-env=PATH "$systemConfig/activate" else "$systemConfig/activate" fi |
