From 5c4058d5ac7e7944973ca8216c258fc50c194e22 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 01:52:49 +0900 Subject: app: run in native sandbox Signed-off-by: Ophestra --- internal/app/app_stub_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'internal/app/app_stub_test.go') diff --git a/internal/app/app_stub_test.go b/internal/app/app_stub_test.go index be496177..665dfa04 100644 --- a/internal/app/app_stub_test.go +++ b/internal/app/app_stub_test.go @@ -55,10 +55,8 @@ func (s *stubNixOS) LookPath(file string) (string, error) { } switch file { - case "sudo": - return "/run/wrappers/bin/sudo", nil - case "machinectl": - return "/home/ophestra/.nix-profile/bin/machinectl", nil + case "zsh": + return "/run/current-system/sw/bin/zsh", nil default: panic(fmt.Sprintf("attempted to look up unexpected executable %q", file)) } -- cgit v1.3.1