From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uI4DKWOYdmblGAAA62LTzQ:P1 (envelope-from ) for ; Sat, 22 Jun 2024 09:24:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uI4DKWOYdmblGAAA62LTzQ (envelope-from ) for ; Sat, 22 Jun 2024 11:24:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mur.at header.s=dkim2 header.b=E1v26ce5; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719048291; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ISsAhoBjN0YMwWIs/RCOgnqfZzStTYCMAlDYmIXh840=; b=E3eDEbcS9Mf1/47eIgbY0KjamaojBB+8PX5FstcIHT4N/EH+a0myOU2vS/KA9GxR4280r6 9ZM9kF96LoxyjGEaHfdfYjTYw9JJPbIs5NYenVjWwDlPQdD2qFw/86N+3PfJkFQGC/V1Ff cngYkoOfs6QNi1pIlEf8oKNXyVzkxZ6aNIQTXj02C+Tp8q6Tjbq6vn0a+FQ0PELC094GLL EtTP69YnnqFljyuXkJzWCr7s/UbTKkVjmlQIGM+ThMFRFhIdoumz2dV6AJWjEHR6AG8bQ0 cQ5vvlKhp56I3RpoIqs/9QmE0FdR6gc3JXNH7eKIL1f8DWoTtfVHJuUJLUOm2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mur.at header.s=dkim2 header.b=E1v26ce5; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719048291; a=rsa-sha256; cv=none; b=qmWyNHJfvvzeXunB0WvgwRFhAEk0JtfVnocGU8hK2utT27mMxACP4HPkDE8J8NdmCS8W39 OWe4S/wLHYXDTPwIPldaLRFLpyDBPqt0nUB95QaBuTsWDKgIq+Mpc0vgFwZzOGDjdzlCcc OwTulbeYco/cWWWPvcmdVZRhbJ0vmC68whVdBcICSYF1579evFM8Yw53k8dpWSy4BXY2t0 HadEM5AbLzhmfDHHFgzKHNSvt5455oe7m7IsKEk1VLUQV1I4PuC2xhFrnlJrvUQmeakji7 1js6+Ms8D5yWTGxkBJWTeMeC650Psh7HBthI8vMsu4zNeDP7NrTi3883p7muAQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 45342558BA for ; Sat, 22 Jun 2024 11:24:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKwyz-0004sk-Uc; Sat, 22 Jun 2024 05:24: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 1sKwyt-0004sU-TN for help-guix@gnu.org; Sat, 22 Jun 2024 05:24:25 -0400 Received: from efeu.mur.at ([89.106.208.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKwyr-0006Xh-6u for help-guix@gnu.org; Sat, 22 Jun 2024 05:24:23 -0400 Received: from localhost (2a02-8388-1886-ea20-0000-0000-0000-2000.cable.dynamic.v6.surfer.at [IPv6:2a02:8388:1886:ea20::2000]) by efeu.mur.at (Postfix) with ESMTPSA id 5691645D07; Sat, 22 Jun 2024 11:24:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mur.at; s=dkim2; t=1719048253; bh=cC3ZOk4afwrRSQChXUx3a8mBITGNHXz8GW9PdyEjmcg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E1v26ce5yLrWXvr2IIkoj0vLp/NtsjzEEuq6MiuxSRWbJ9ECZ3b2MX4c5NeizyQ1i rPvJDyBptg2K3fC7s5iaPoxYSmHDnEx/c1PRjHDwMFdGxikTMolPGtm5cZ4xnRfkga 4coOW2SP/KZCD3pslaFSRohK0E2kOuXrmb8aSkUJC6zui8cfxlvv4ie7CTFzmsqzOL CtuhS8BIS5t5d3rBlHh92OMynIHbEJexLxjNMCFq2AlWSiaM9tlgZj3PR87w2i3FAx f3VuYuT2OjV9Wsdn6aY926dY5osd7L2w19FWMoMdGpEzsw2hjGiSPTcARC/e8fDRs9 lEopczSYwqrWP+BUNkSsXWLILs4cydLhAiLVgndK+tkpAscIOyBDKvmD/vnOWz99SM MFrwx3WasStDW0ySF9hfZ2chgWHRVHuMxn+oxtOopupFNNIgX0fXcGsP2N1v/1CYKH Gy5koAnRxrj6vxsfpME+7BCp7lNdYRaQZU5c0gCQp7bIBTgfdUo Date: Sat, 22 Jun 2024 11:24:11 +0200 To: Nils Landt Cc: Adam McCartney via Subject: Re: What else could set the GUIX_PROFILE variable? Message-ID: References: <55116962.28384.1719042603183@office.mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <55116962.28384.1719042603183@office.mailbox.org> Received-SPF: pass client-ip=89.106.208.42; envelope-from=adam@mur.at; helo=efeu.mur.at X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam McCartney From: Adam McCartney via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 45342558BA X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.56 X-Spam-Score: -5.56 X-TUID: jaWsmh6WxTQw On 2024-06-22, Nils Landt wrote: > >> I realize that the problem goes away if I remove the control block. So maybe >> it's just a logic error on my part. I'd still like to know what is setting the >> GUIX_PROFILE to $HOME/.guix-home/profile when I launch tmux. > >The installer adds /etc/profile.d/zzz-guix.sh which, among other things, sets GUIX_PROFILE. > >But I don't know why this happens with tmux and not your regular shell session. So I guess it might be due to the fact that tmux starts a login shell, so all the profile files are sourced, where as the gnome terminal starts with an interactive session? Possibly mixing up the terms a bit there. Adding the following to the tmux rc file fixes it: ``` # ~/.tmux.conf # Don't run a login shell! set -g default-command "${SHELL}" ``` cheers, Adam -- Adam McCartney - https://admccartney.mur.at /