From 9598499dcffe22e16805b8723f06416b88bf959e Mon Sep 17 00:00:00 2001 From: Lap Tran Date: Wed, 11 Nov 2026 12:49:41 -0500 Subject: [PATCH] no-mistakes(review): match real backpass and acpx launch paths --- home.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/home.nix b/home.nix index bd914bd..0d08f34 100644 --- a/home.nix +++ b/home.nix @@ -405,10 +405,10 @@ in exit 1 fi # Converge one npm global to the registry's latest. $1 is the package name, - # $2 is the pgrep pattern that identifies a live process of that package, - # used only to explain that a live process keeps its loaded code. Every - # optional failure returns 0, so `set -e` never aborts the switch and later - # blocks still run. + # $2 is the pgrep pattern matching that package's command line as launched + # from the global bin, used only to explain that a live process keeps its + # loaded code. Every optional failure returns 0, so `set -e` never aborts the + # switch and later blocks still run. converge_npm_global() { pkg="$1" live="$2" @@ -441,8 +441,8 @@ in echo "$pkg: a running process keeps the code it already loaded - $latest takes effect at its next start" >&2 fi } - converge_npm_global backpass "node_modules/backpass/bin/backpass.js" - converge_npm_global acpx "node_modules/acpx/dist/cli.js" + converge_npm_global backpass "/opt/homebrew/bin/backpass" + converge_npm_global acpx "/opt/homebrew/bin/acpx" ''; # kunchenguid/no-mistakes gate (git push no-mistakes) - declarative install + daemon + global config