From 0f2f3d158297630f270e7adda7f4b1a9453c1f29 Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Tue, 20 Jan 2026 14:18:34 -0700 Subject: [PATCH] feat: add nix paths to COMMON_BIN_PATHS --- apps/frontend/src/main/env-utils.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/frontend/src/main/env-utils.ts b/apps/frontend/src/main/env-utils.ts index 8fbee2c08c..20dbc4496f 100644 --- a/apps/frontend/src/main/env-utils.ts +++ b/apps/frontend/src/main/env-utils.ts @@ -122,6 +122,8 @@ export const COMMON_BIN_PATHS: Record = { '/usr/local/sbin', // Intel Homebrew sbin '~/.local/bin', // User-local binaries (Claude CLI) '~/.dotnet/tools', // .NET global tools + '~/.nix-profile/bin', // Nix/home-manager user profile + '/nix/var/nix/profiles/default/bin', // Determinate Nix default profile ], linux: [ '/usr/local/bin', @@ -130,6 +132,9 @@ export const COMMON_BIN_PATHS: Record = { '~/.local/bin', // User-local binaries '~/.dotnet/tools', // .NET global tools '/usr/sbin', // System admin binaries + '~/.nix-profile/bin', // Nix/home-manager user profile + '/nix/var/nix/profiles/default/bin', // Determinate Nix default profile + '/run/current-system/sw/bin', // NixOS system profile ], win32: [ // Windows usually handles PATH better, but we can add common locations