From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GKrFBLmLOmApLQAA0tVLHw (envelope-from ) for ; Sat, 27 Feb 2021 18:13:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WNmHALmLOmDEZAAAB5/wlQ (envelope-from ) for ; Sat, 27 Feb 2021 18:13:13 +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 21C9522ED7 for ; Sat, 27 Feb 2021 19:13:12 +0100 (CET) Received: from localhost ([::1]:38166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG45X-0002JU-5d for larch@yhetil.org; Sat, 27 Feb 2021 13:13:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG45O-0002HZ-Od for bug-guix@gnu.org; Sat, 27 Feb 2021 13:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lG45O-0007RM-HN for bug-guix@gnu.org; Sat, 27 Feb 2021 13:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lG45O-0003IM-D8 for bug-guix@gnu.org; Sat, 27 Feb 2021 13:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46803: User manual does not explain Profiles (nor GUIX_PROFILE) Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 27 Feb 2021 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46803 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: 46803@debbugs.gnu.org X-Debbugs-Original-Cc: "46803@debbugs.gnu.org" <46803@debbugs.gnu.org>, "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.161444952212559 (code B ref -1); Sat, 27 Feb 2021 18:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Feb 2021 18:12:02 +0000 Received: from localhost ([127.0.0.1]:45340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG44P-0003GR-MJ for submit@debbugs.gnu.org; Sat, 27 Feb 2021 13:12:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:37118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG44N-0003GE-6O for submit@debbugs.gnu.org; Sat, 27 Feb 2021 13:11:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG44M-0001Ah-Vb for bug-guix@gnu.org; Sat, 27 Feb 2021 13:11:59 -0500 Received: from mail-40137.protonmail.ch ([185.70.40.137]:31234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG44K-0006jP-Ae for bug-guix@gnu.org; Sat, 27 Feb 2021 13:11:58 -0500 Date: Sat, 27 Feb 2021 18:11:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1614449512; bh=RM1Hpd0rbCNRwWLQP0LVjS7H7G2B0RFWiW6SKEllCAs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=agQbqOyrBqCQj9/HGY3d6s11BIjcVHEdt3+EvZmxdpwq45ddbKvc0nbOUYRyEyUQe M8AwMsmSnAVr3K9j6I2RriPkuKkbjEfNUz+csLdHbkDp8/ZAO8NSOrSyIREw04Wmpw wytwByMvmSmi8FsuyHrX3AXnAY1NVy6eWFiHdXVM= Message-ID: In-Reply-To: <877dmube5x.fsf@nckx> References: <877dmube5x.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.137; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40137.protonmail.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe From: Luis Felipe via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614449592; 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: 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=RM1Hpd0rbCNRwWLQP0LVjS7H7G2B0RFWiW6SKEllCAs=; b=pZ+s10FvWaHCgkMhRMocmjSXzZTx54tZ+2/Sp3p6ToWlF3hsOQcswXeVLLWrA2UHOEzKhC BipM498V56ffBdD6XOFnVj3Qxau0eNfhu1H5PzXdv7Yqvdf2B4th5bRxYQMaIAi+raWuhc ZG3X4R/oGvZf+h6wCGfCg0G5C/+cy+tkKOQe3lZRSZ3pgoEUePY+c4nhjX5cF2mcLdPGzz 6/qf2Gu9zo+RTxU+pAdcU4LhrhlYn5pxWzbxLtVFLv1v/D7E6kDq1kjEiTw63P7uEY0d9g EFmqAw5NKVQqzqbFSf4p5r0J31w1P8JMh0mCePlUX/nSJcoCPiucMzqjOIpS6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614449592; a=rsa-sha256; cv=none; b=nPfaGWZcfL3alAFCyjaTAjNSo98r3fGWiUT65FRUxuNnahjtDrFQhJTgWCX4nasnJHRABb SKpWA4pXhfqQOWxoFM60vQ3zcYVH9U/dGe79FNsdECNZxRX8HrqrBNkrP0zUg7f7rhKvm6 k25MrcK+2dMPtnX3R33gg23wAy6SRMIcd0U6ZkgnbVEbzyr3NXF34LycL1yKC/WZAkvgvz BObKRZJ0bE3CB0hsgNI1DUlvFUqqnJfwHRg4epv52hVmPMftyJqoeOaWpW4eakWIlg5//C 5d2/hFe8Bn+BKz7A5Cz5y5yXGAk/T6nU7oENMwtlmjksIt31HcfgwyZOgzGsHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=agQbqOyr; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=agQbqOyr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 21C9522ED7 X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7jGIGXpkIu5R On Friday, February 26, 2021 11:30 PM, Tobias Geerinckx-Rice = wrote: > Luis Felipe, > > I think that would be very helpful. I'm trying to think of a concise, cor= rect, but actually useful definition of profiles for someone not already fa= miliar with them or Guix. > > Out of curiosity: how do you intuitively understand profiles, as someone = who's used Guix for a while? I think I didn't intuitively understand profiles. I think I actually starte= d using them last year (apart from the user profile) after reading the Guix= Profiles in Practice recipe, which made things clearer to me (but I don't = think I grok the concept). So, right now, I see a profile like a collection of packages that you can a= ctivate/deactivate in your environment by setting the GUIX_PROFILE environm= ent variable and sourcing its profile file. > Luis Felipe via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A > > > [...] what is the GUIX_PROFILE variable, does it accept a single > > path to a profile or more, and some use cases and > examples. [...] > > I don't think we should document GUIX_PROFILE. It's not part of the defin= ition of Guix profiles. It should not matter to users nor should they rely = on previously observed behaviour. AIUI there are no supported =E2=80=98use = cases=E2=80=99, beyond copy-pasting Guix error messages... In the Guix Profiles in Practice recipe, for example, you are instructed to= set GUIX_PROFILE and then use it when sourcing the profile. So I thought i= t deserved an entry in the index, since it is mentioned so often when worki= ng with profiles. I think I was expecting something like: GUIX_PROFILE This is an environment variable that you can set to [...]. Its value is an absolute path to a Guix profile. See Profiles for more information. Now I'm confused.. :)