From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4Br8HBrnLGJ3ZAAAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 19:31:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0D+uGRrnLGIufAEAauVa8A (envelope-from ) for ; Sat, 12 Mar 2022 19:31:54 +0100 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 4795D195C4 for ; Sat, 12 Mar 2022 19:31:54 +0100 (CET) Received: from localhost ([::1]:42680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT6Wv-0007SX-2C for larch@yhetil.org; Sat, 12 Mar 2022 13:31:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT6V9-0005zE-Cx for bug-guix@gnu.org; Sat, 12 Mar 2022 13:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT6V9-0004sO-2N for bug-guix@gnu.org; Sat, 12 Mar 2022 13:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT6V8-0007MT-SD for bug-guix@gnu.org; Sat, 12 Mar 2022 13:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54354: [BUG] guix home: on foreign distro, ~/.bash_profile is not initialized Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 12 Mar 2022 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54354 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: florhizome , 54354@debbugs.gnu.org Received: via spool by 54354-submit@debbugs.gnu.org id=B54354.164710976128221 (code B ref 54354); Sat, 12 Mar 2022 18:30:02 +0000 Received: (at 54354) by debbugs.gnu.org; 12 Mar 2022 18:29:21 +0000 Received: from localhost ([127.0.0.1]:40817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT6US-0007L7-Uh for submit@debbugs.gnu.org; Sat, 12 Mar 2022 13:29:21 -0500 Received: from mail-ej1-f66.google.com ([209.85.218.66]:33684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT6UR-0007Kv-Mf for 54354@debbugs.gnu.org; Sat, 12 Mar 2022 13:29:20 -0500 Received: by mail-ej1-f66.google.com with SMTP id kt27so25799265ejb.0 for <54354@debbugs.gnu.org>; Sat, 12 Mar 2022 10:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=eBqA+rVlwpzwItWdyp62SKFTCwJ78HdcopNqVv1ifIg=; b=EgNDCWfdvWSDrVXw4EqJUeHoBrgydA4x5j+sIWtdEhQ+utvZ1PkT4Adff3ClJJiXTi I8jvF7apxaahX74YLlaIjyB5eDUxYdrYQdwVlR7urQ0EBOyXhcvVabXZWSYla+ss2hZz LF3J6YOwJtkNXbu+uOBz9lfpeUs3Rr3RYVVAUX9pGkBYe661LsH+UZSn7ZHJr8vs78t1 2xKMQOiByq9gQi4pU26TP7V01B5BqEP4pQVOcu+2OtVgxTg9r5dXbsRRXSFd+qwPVfen Ccn83SSzma+m7yVMhrZeqq6Ukm2Lbfi5bonDL+FNi2I5Z6CWn8RgM/DvvNKWtdyrZUkP CxIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=eBqA+rVlwpzwItWdyp62SKFTCwJ78HdcopNqVv1ifIg=; b=6cyywMuly7slqBflkptHmtaOwXn2RNZW0ZyxWCX+eSGpyXrDjSvMbfbUreSwpwvQpV 1frebDkHMkV0tW5rucwBbRP3PkUfqUlNlZ4TqdsDibDEFR1E4MXnNOg3NfU4xVHlxohV zgaF/WosXmRB1unUw/diUcJyV9FeXXc3SVTBac/mEk+6n3r/NgYYWE31qMURpHXoMJfS 1kpur3hqONdww4vliWWJ0aVnfIEhOwi3jOjDR79jiaT1D8h5bfp3Tc2KW6I6w0baMbyY re9x9GiaHAVFf4/kZoxF/XDWgaHN1FdrfkP0ygeuxLFUF5Lw5GpCmfZT08gDkwmYtgRc d/UQ== X-Gm-Message-State: AOAM531NX6PrGfESKlIPZyEB15tmIbDtAq2/m5ZyLpQjlODNHOcHbQTx e4CvqQzTpmulJrRquXAYpQk= X-Google-Smtp-Source: ABdhPJx8DJMtJUldqwQdzTcQDz/0oujHlWjS1wSy3/xfrpnmGSApNQ7ell6veb8N7Zs5d/5i7cmh3w== X-Received: by 2002:a17:907:9485:b0:6db:331:591e with SMTP id dm5-20020a170907948500b006db0331591emr12912647ejc.478.1647109753666; Sat, 12 Mar 2022 10:29:13 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id m25-20020a170906161900b006d43be5b95fsm4638539ejd.118.2022.03.12.10.29.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 10:29:13 -0800 (PST) Message-ID: <37831ee70559c60fd1d0545b621b5cc485185f5f.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 12 Mar 2022 19:29:10 +0100 In-Reply-To: <878rtfjp4e.fsf@thinkpad-manjaro.mail-host-address-is-not-set> References: <878rtfjp4e.fsf@thinkpad-manjaro.mail-host-address-is-not-set> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647109914; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eBqA+rVlwpzwItWdyp62SKFTCwJ78HdcopNqVv1ifIg=; b=OzAwOnXHHUi8hoVfOu4UVcvoCYuQ4AwNNKD2nF6X0aE34z9d5bYiw/86sUQJ1COuoU8EE0 Yx5lxSBuE673Sd/a4rsUW7SsTR8FseHzN1PWhnntHL5NzxGGKVFi8GbER8/qmZ5pY2CGaC 1F5FZEbZtPvum9JCKy3OFYJR8yzJafuyicCSNLdTmNumOh6Dw+Lwty6BCzYOKJN+PHA7im QpAWgvYqF799Y01fMhBAe0X55/V/YN25Hv2r8syv/BO3h/yck0WO+12ikHnEDtgIywNBSu Htga8UCO+5+RiwsE4BR7DGbSX8ZMIeX/SQjPkk/hYk59DVxbIJPJsVC5a6oy7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647109914; a=rsa-sha256; cv=none; b=t3N0f+3kmNp+hiZiirzOw6fIX/WtvvdBdFXKIVsoml953aWlaERANJVB9ndJ11rScZGxCa n/oc3tvVrax9gBp4XMtAFJxOHsLYHiZFSHS3TEtbH7TNqxIC8SyyWbFMgVryWBdQgaQaBg jwS8K9P7wrQmI9YIRi3SUZsgkTmfzd7VB0BM5B+NuNkgKPrAwasrnhGYq1/CspRPCkvV0o LiBSOoDwbmU3CulOmC4rPxp9oJIe2Zpn0h+xWEpjTufICXzp547tPFtdAyrT0Y4bKrLudD /+qCal37i8AtufP8K8Ij5HVTU4fdDdrhpcW5Jx176+8jbH+heFr0SxsEurXb9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EgNDCWfd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EgNDCWfd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4795D195C4 X-Spam-Score: 5.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: yJYhhUkWG1wx Hi Florian Am Samstag, dem 12.03.2022 um 13:07 +0000 schrieb florhizome: > > Hi guix' ! > I have been trying to use guix home on my foreign distro partition > (manjaro); especially in order to set up additional profiles from > there, but my .bash_profile generated by guix doesn't seem to be > evaluated at all. > > To describe the actual issue finally: None of the things that should > happen through .bash_profile seem to happen at the moment (it's just > about different environment variables that will not be set up.), but > after running bash --login in my terminal-emulator everything is as > anticipated so my guess is that .bash_profile actually isn't evaluated > at all after login. I'm happy to hear other suggestions and especially > solutions. This looks vaguely like a problem others (myself included) have experienced/are experiencing on Ubuntu. See [1] among others. Given that bash is not used for login, your environment-variables block has not effect. Now if you were to define that inside a variable, you could also write up a service that generates systemd unit overrides and add those definitions to it. I'm not sure how well-received such a service would be upstream given that we don't use systemd in Guix, but it's a point to start. Cheers [1] https://issues.guix.gnu.org/48300#7