From unknown Sat Aug 09 12:59:16 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64534 <64534@debbugs.gnu.org> To: bug#64534 <64534@debbugs.gnu.org> Subject: Status: emacs tramp-remote-path does not include guix home Reply-To: bug#64534 <64534@debbugs.gnu.org> Date: Sat, 09 Aug 2025 19:59:16 +0000 retitle 64534 emacs tramp-remote-path does not include guix home reassign 64534 guix submitter 64534 Zacchaeus Scheffer severity 64534 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 08 14:12:30 2023 Received: (at submit) by debbugs.gnu.org; 8 Jul 2023 18:12:30 +0000 Received: from localhost ([127.0.0.1]:45171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qICQ2-0000jF-EH for submit@debbugs.gnu.org; Sat, 08 Jul 2023 14:12:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:34608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qICQ0-0000j4-KC for submit@debbugs.gnu.org; Sat, 08 Jul 2023 14:12:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qICQ0-0006UY-9w for bug-guix@gnu.org; Sat, 08 Jul 2023 14:12:28 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qICPy-0005GT-R9 for bug-guix@gnu.org; Sat, 08 Jul 2023 14:12:28 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-666ed230c81so2538383b3a.0 for ; Sat, 08 Jul 2023 11:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688839945; x=1691431945; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=T+tIRTCcz2fzEBR9IItjWfLhShcb7O52BOcgJ8G2pPM=; b=anj2qDGn0c38YbK9VhIZ8fN5HE6jWEFDlJ5Lo9QF4F7mJ4Mi/l4Ln2tBvbX5N8VvAV Jr5HfXbKFF8Oe0iYf8aVFmi75AMIoDABo421LlPJ6t8pakMfoD2QbioFm95A/9O1g7ol TF51VtR6EtLch7CKFKgKA0b72xm2Vjdjp39ZO6/dzxqmGzReJps8kcwPbGkW20/rmOiZ Ofjph9KCSEvXrhicLmww7u5g+jpxxaPTEMqCACFzbA4vSCgXHefTGr8ZzH5+hyCsFDNA HdP9oJiRQJC4z3ZvoyM9nXShL6BAFi6M1mYMzE7EbdCUgMNbp8ZBV+aUZMKvtG6+EORw orNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688839945; x=1691431945; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=T+tIRTCcz2fzEBR9IItjWfLhShcb7O52BOcgJ8G2pPM=; b=Vk25o97QOEPWmlUPIK7x/0kaJzLQ5xsglE54j7lJPYfXFG58/7qaRZtVeahSJd7fEl U3nAfXG/b89g/2L2DuCXOMoOQU97xBaE8BZU45WCwT/Pw/rJXqYGjQrFk8HrlA0DPSja zT+tDqr3ZEg34bcK7iziQANGP5pv+koeVmBje37cVU/2cADM+tLjrbZK2Avrqi+V38ui 5GECyxbZ9ye4AGhgbgGQzK1m1OdNSiiX1R3wfVfMSzrKvBGxJnrk6R6aDRYJXO2OXgF6 RFeSR8U8Z/H0mPfruS8t/XRy6EoAoFHlhKx2ze5Ty1gSKZZOLZx8OLSRgfyYXwAT636n 1t3g== X-Gm-Message-State: ABy/qLZJDwJewYH6QhjL/LnlyGUUIqVaC9Riq2dq2SvvqM5H789Pmcsp 8nFxYlHTyrWrGXmAHonbNxqY7fV8Vc0= X-Google-Smtp-Source: APBJJlGKdQnkMB0JVNXUZX9aZ6gAQ/a1uwnl5l8u7jSE6YbYk+07oT1O/A6uyosh0r4EPK+La8D+fw== X-Received: by 2002:a05:6a00:2e96:b0:67a:b045:e290 with SMTP id fd22-20020a056a002e9600b0067ab045e290mr11386268pfb.4.1688839944654; Sat, 08 Jul 2023 11:12:24 -0700 (PDT) Received: from l5u ([2601:646:8200:1ec0::e818]) by smtp.gmail.com with ESMTPSA id i129-20020a636d87000000b0050fa6546a45sm4626774pgc.6.2023.07.08.11.12.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jul 2023 11:12:24 -0700 (PDT) From: Zacchaeus Scheffer To: bug-guix@gnu.org Subject: emacs tramp-remote-path does not include guix home Date: Sat, 08 Jul 2023 11:12:05 -0700 Message-ID: <87edli2ryi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=zaccysc@gmail.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix! I noticed that the emacs package has the following value for tramp-remote-path out of the box: (tramp-default-remote-path "~/.guix-profile/bin" "~/.guix-profile/sbin" "/run/current-system/profile/bin" "/run/current-system/profile/sbin" "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" ...) This does not seem to include guix home bin dirs. Indeed, when I connect to my remote machine via tramp, and try to run "git", I get: git: command not found This can be fixed by evaluating: (setq tramp-remote-path (-cons* "~/.guix-home/profile/bin" "~/.guix-home/profile/sbin" tramp-remote-path)) (tramp-cleanup-all-connections) In which case, running "git" in a remote shell gives the expected git help message. Is there a reason guix home bin dirs are omitted? -Zacchae