From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SIK4DsNJk2HMRgEAgWs5BA (envelope-from ) for ; Tue, 16 Nov 2021 07:03:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wKRKCsNJk2FzAQAAbx9fmQ (envelope-from ) for ; Tue, 16 Nov 2021 06:03:47 +0000 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 D40944E37 for ; Tue, 16 Nov 2021 07:03:46 +0100 (CET) Received: from localhost ([::1]:41196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmrZJ-0005Ie-VQ for larch@yhetil.org; Tue, 16 Nov 2021 01:03:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmrZ3-0005IR-KJ for guix-devel@gnu.org; Tue, 16 Nov 2021 01:03:29 -0500 Received: from [2a00:1450:4864:20::443] (port=34802 helo=mail-wr1-x443.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmrZ1-0004gf-FZ for guix-devel@gnu.org; Tue, 16 Nov 2021 01:03:29 -0500 Received: by mail-wr1-x443.google.com with SMTP id d5so35254763wrc.1 for ; Mon, 15 Nov 2021 22:03:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:references:user-agent:mime-version; bh=TNnNo4rU0e/YuUwoX0tpBSNYMrQTQu+8Zqtpbk2ZBF0=; b=IY+Dt3f9xpl5EezaCpj3Ga9U/ed79xI77H2D3zfArQNqoQ9QjIsspNoPEkHON+BPfB SUpR9YsybEBtQWWqzrxcaZlF1q3czqHRxgNqS71bIwsOAfRvj51AzTDdyYd4pZ0DFKiR fMXzhabBaUkt2UbkRn6iJOG1y7XhUvNB5lxyctiT2H+kslhk/SuzUAolXKzeM5Rtl9ba vKpKBwsSS3Fmq1pI1SOOpW8dd8LQT6GPIo5/PCKrMpSDFnZthYj3WPjtOjaDZ9YnTP9C F1128mCRlb1YBjUuXLlDbZwMJAe8H/m09L5tWHzTRl4MPrtzGHDn39KoMs+1UZpxGINo FGXQ== 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:references :user-agent:mime-version; bh=TNnNo4rU0e/YuUwoX0tpBSNYMrQTQu+8Zqtpbk2ZBF0=; b=cho4ELE5XpbKSf82vfyNcBN6HJyV5LnIM9FUCIE1ZfrxxRx66Q4nxQBviZHpeY/J3/ /Hov1KyHaykq/ggmRskyKywxatnHOIEFe95+asr23CY49Y/CIM+4cRi+XF7wYgtA/54e B7ltbTrwveoUwGTaU2YGgln+69H906EPn6rMLANcNoPRsiUzX9/9s3lORgUanXp5bXUm 0zEGFewzidc4rqzkPr38oya4JO28ADC1gY/X3LUbyHREcN9FgPp5Xp41dFm8OrzlLeK4 7bAOWAlyxUj71BiJ29cly0tSByQfNzLiQSatlhR3kvcOWv2KGiEAxq7/lMEXFmf3y31W SFFg== X-Gm-Message-State: AOAM532wnhI9meLxYGl2B13W9Atq0B9xaT8R9YT3NbC2v7wfONeCyDeZ 2a7jFVTn7A2P13jfUQOayWPGdxcEfqw= X-Google-Smtp-Source: ABdhPJxmaV8ROnb4JvY+n2PmR9z8wROYWwKp4BE/KHWbui+7oRYup6NjuIUw/fbIVQIiRxJXyXkXXw== X-Received: by 2002:adf:f5ca:: with SMTP id k10mr6143204wrp.161.1637042606125; Mon, 15 Nov 2021 22:03:26 -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 j40sm1434058wms.19.2021.11.15.22.03.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 22:03:25 -0800 (PST) Message-ID: <5a5e3dfa8bbf1c1e8fbc6aa4e7bb64950ff27b1f.camel@gmail.com> Subject: Fwd: Re: Multiple profiles with Guix Home From: Liliana Marie Prikler To: guix-devel@gnu.org Date: Tue, 16 Nov 2021 07:03:24 +0100 References: <501c142f8f9a60fea4a004b9ee06abd5eecff933.camel@gmail.com> Content-Type: multipart/mixed; boundary="=-EK4fQHkkN2QEbvo8ly21" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::443 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=liliana.prikler@gmail.com; helo=mail-wr1-x443.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.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, FREEMAIL_FROM=0.001, MIME_BASE64_TEXT=1.741, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637042627; 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:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TNnNo4rU0e/YuUwoX0tpBSNYMrQTQu+8Zqtpbk2ZBF0=; b=SJmdtIfVkAgtHFRTRJcK13MKzIoyhv8i85+R1LbSvPaGnPQaPWDs0BIJYLEWP2bvVgHssL nEU85ID8X4xfOEc5/v+Xs1dIP3PuhNyJtNbHuMPlBgDx8xtyx+ctIR8p7udvIVMWP9Yqt5 JiznXgwI9NTkskPrLL1MFEF7U8k7XShUhAV/0609UzdCd3+uhDeCT6b68i/v8l8RhNbCd7 vf9ROfrYmsMA5a7gHITbHyDqK4MqmxJD1AfcF8TTti4ufOBQyU7hq4NIzieQF0E1+1bJGc if6B/pd7736LS8glwuE8mtqZTFDoKWMCJiks4oBwL8Rd414Bozp5y6FxU/gM7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637042627; a=rsa-sha256; cv=none; b=oQbOMIdQ0qVqz0O4CrGtHwkj7AqEAPec0i9fUaFlynueamTEHvLMmtbnW8jLIuQV3n8HU6 8vVzK/Nix1Y+PGDx3hGdu/5PJW8WCv+mNzK1uOnpzXFLLeWYB8oOevpa884Fxh4p8kY1Wx +0bXh/BSENL5Fq4OIswxrMCVxuIOq1XWbxDdK72E8vpmvcOmhi0d5muI2DzbRxZ7dWrBeh k3L7zAJ9XTBykQlCtvxqWpLNef4B4Ac8V9oXIs48V5HYXQA2e1vdISRZDkcic8Jj14AVDZ 5bA5dKNlSckeWQ0OAhFFhlNvUaxlTvPVqkfRaRuLbgLjfeiuDIdvjr5jljR+xA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IY+Dt3f9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IY+Dt3f9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: D40944E37 X-Spam-Score: -2.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: t0fdO2tG3eWg --=-EK4fQHkkN2QEbvo8ly21 Content-Type: text/plain Content-Transfer-Encoding: base64 Cg0K --=-EK4fQHkkN2QEbvo8ly21 Content-Disposition: inline Content-Description: Weitergeleitete Nachricht =?UTF-8?Q?=E2=80=93?= Re: Multiple profiles with Guix Home Content-Type: message/rfc822 Message-ID: <501c142f8f9a60fea4a004b9ee06abd5eecff933.camel@gmail.com> Subject: Re: Multiple profiles with Guix Home From: Liliana Marie Prikler To: Olivier Rojon Date: Sun, 14 Nov 2021 09:48:28 +0100 In-Reply-To: <87mtm7w3mo.fsf@posteo.net> References: <87mtm7w3mo.fsf@posteo.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Bonjour Olivier, Am Sonntag, den 14.11.2021, 08:19 +0000 schrieb Olivier Rojon: > I'm not sure if this belongs to guix-devel or the guix issue tracker, > but I was unable to make multiple profiles work with guix home. Is that the reason why you posted it to neither? Since you are voicing your support, I think guix-devel would have been fine, but you would have had to write a separate mail to guix-help (or is it help-guix?) towards getting your issue solved. I don't think it's a bug per se, but configuring current guix home to work with multiple profiles would be hacky either way, not to mention all the other environment variables that setup doesn't account for. > I tried two scenarios: > 1) (local-file ...) my old .bash_profile, which featured the > cookbooks' for loop for loading the profiles. I think your old bash_profile would be overwritten either way, so that is not a style I'd recommend. > 2) (plain-file ...) a new .bash_profile, which contained > scheme-generated strings "manually" sourcing each individual profile. You might want to look at the file generated through this means.=20 Chances are that your changes don't apply or apply at the wrong moment and are then overwritten. > Both scenarios didn't work. Upon starting the machine, neither of my > profiles' packages are visible. It is necessary to manually source > the profiles to make said packages visible. I think there's an environment service type that you might not have tried yet. I am myself not a guix-home user, because this nastiness is a thing that keeps me from switching to it. I don't want to pollute more of my $HOME for no gain, I want to be able to tell Guix which layout I like. > I've written a reddit-post about it, where I explain some stuff in > more detail in case that's relevant. You can find the post here: > https://www.reddit.com/r/GUIX/comments/qs8dxg/guix_home_how_to_execute_lo= ops_shell_scripts/ >=20 > I hope that this will work and that I have not unknowingly > overstepped etiquette somewhere. If so, feel free to point me to it > :) For the record, what happens if you source .guix- home/files/bash_profile. Is .bash_profile correctly set up as a symlink to that? You might want to try this in a debug shell (bash -v) Cheers, Liliana --=-EK4fQHkkN2QEbvo8ly21--