From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sNfULwEBdGK+ywAAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 18:53:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4F7SLwEBdGKvRgAAauVa8A (envelope-from ) for ; Thu, 05 May 2022 18:53:21 +0200 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 360BE111E0 for ; Thu, 5 May 2022 18:53:21 +0200 (CEST) Received: from localhost ([::1]:59062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmejA-0000cJ-CN for larch@yhetil.org; Thu, 05 May 2022 12:53:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmeF1-0006Hf-7d for guix-devel@gnu.org; Thu, 05 May 2022 12:22:11 -0400 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]:43682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmeEz-0006fF-Gc for guix-devel@gnu.org; Thu, 05 May 2022 12:22:10 -0400 Received: by mail-ej1-x642.google.com with SMTP id m20so9692803ejj.10 for ; Thu, 05 May 2022 09:22:09 -0700 (PDT) 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=zsk0UIR9xDEyqeS20LuZl5gYt2oWF8dGM2JYkpGCThE=; b=htYf+X4dPU4V1RzBwaWfm2hRfkhLBiKwiqdVQY36MLcbRObJjIWXE/srDW2vx6yD6C MfadiZFd6ccKXSXSvTSZD94KHmxWzKkWxr38EPL7lPk/D/NhqQ+Qic+ufWBPJxhScme0 D/JS3vHOndtBFI+QM3DSDcdYDV6vAbKVqxVNzlSM7dohiQh63KHgES2+64UpIqW9cv3W LXRxixbdOU6MLzDCRYyg+5t/WQ7MQuUZr9w7C/Orn3rPxvvRIfDR7zz46uJQpMStfNpR YNshHsnhS3m0P+qH1/8jPHBQogvnNHXMdhr6rzQyz+v9b/sDh/XEfX8P2r/EjDJBKIHN AoVw== 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=zsk0UIR9xDEyqeS20LuZl5gYt2oWF8dGM2JYkpGCThE=; b=QF/NN7nCkyJh4iAPxjmRD2YD4BjITNLWLPkmRubMHuIAZaijnhIXo9GFaT9NdtGXaQ U/pVqCII+VECAzIwnx91o44ORkCrubUeNvrpME3kWEjveWCPxcONInhgaTiG5nZCiSKD cdDOkHsAvFUDwDgDunpphZbNprDcNdaoQfBLj3xQhwd/bT/28PsRtdOKPOy806TvVaTR P7jU/YqRpsy3eMlW5R8KqsKl60EIyMcjNMI5+ndE9atHrJfBaIYdPuKvUkL1Y2x+gS0+ wKnADLAbEp7Qgc5PigR6+towJMSWDYeo2Lbh2wztRsvYai4aqAUDJy79PgtpJxv/Rmlk M5zA== X-Gm-Message-State: AOAM530x2qi8bwMAaneS5G6UCGsUFwKO8ELqYawYI6qASr+MufVozy7h nyVootMI2jEMQs8rEZqgvWerNJj2ZWI= X-Google-Smtp-Source: ABdhPJxRkn2yIwDq2rhZTWQtR7hFssvbj0pRT8aBkl6OeQoAsSvl0bYodt6jkUZJkv8fAdjfq6xIBw== X-Received: by 2002:a17:907:3f8b:b0:6e8:318d:1def with SMTP id hr11-20020a1709073f8b00b006e8318d1defmr27920626ejc.153.1651767727975; Thu, 05 May 2022 09:22:07 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id w16-20020a170907271000b006f3ef214e42sm879447ejk.168.2022.05.05.09.22.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 09:22:06 -0700 (PDT) Message-ID: Subject: Re: Multiple profiles with Guix Home From: Liliana Marie Prikler To: Maxime Devos , guix-devel@gnu.org Date: Thu, 05 May 2022 18:22:04 +0200 In-Reply-To: <550e75e83ee9c154766294779c8fd0b5f3715355.camel@telenet.be> References: <550e75e83ee9c154766294779c8fd0b5f3715355.camel@telenet.be> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::642; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x642.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-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 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=1651769601; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zsk0UIR9xDEyqeS20LuZl5gYt2oWF8dGM2JYkpGCThE=; b=sy74L2CWNm1Ge+VRVzQisOhKRMS3YXa53M80JgQ1dSBa2EKYhHF+jJR29c773XjIu/UgBm GEqx4O8qlo/2RVC6fdeAy3WWqw4VYk7yslWGZMAeDLH6fE3Om7wPX6Za/5QJt7YC8cDlyQ ow1WJhRYBcMTGBFr1DXjD4ccyHUE0XlFv8pUIm9v6l9lqfsfTeFANhZgKGhNmU+NxCSOcK +7V1lhRaQTu/pPH/iPChI9NOKDIIcMUXk7X+dUoFSvQueyikvyQ+WsyLKMBdPaBgt5loqr BNgZzq8y7DQzeLajso9XQZp5bpW977g2aGWKKbctLYFnbLfs0vVovjL/sifFnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651769601; a=rsa-sha256; cv=none; b=S189BaDOHPcsBFJElHRlKoK3nEE9GMgWOQfp8e0owXsKaLlgXcy6yHBCqjFVdmeY6K+czW 9LJDE2Si8MoVbY4YWVdmubMzMZjqM9zqskD+V39ir3uu+N9gFjO1oQr3XZhUTLqfTrpH9X zuupJ2+dTjfp4J7lbqSdqeaXHKPhmiZ41kIbT276MXW3D0+SUJp8Q8SgYLPE+H7xVP3iOT WtYd3edPuTKbs40VgJgggIhgC7kyR447r/b5hJB+wWa8b8OJd3Edz4tA3ICrH1sKZady8Y bGfqdRabT3KF3kSt0L3vAm1J6RK08yBmLFs21kxhvH56ZhXmIVJIM8LNUhoshQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=htYf+X4d; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=htYf+X4d; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 360BE111E0 X-Spam-Score: -3.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: zA6tfZ2XvQMi Am Donnerstag, dem 05.05.2022 um 13:05 +0200 schrieb Maxime Devos: > Liliana Marie Prikler schreef op zo 03-10-2021 om 12:50 [+0200]: > > On init/reconfigure, `guix home' creates/updates all home-profiles > > which have a home-profile-manifest that is not #f and links them to > > the appropriate locations.  It also creates a shell startup script > > that loads those profiles that are enabled?, even if they have no > > manifest (this can be used to e.g. declare a pull profile, which > > `guix home' can't manage).  > > I assume there will be some mechanism to load disabled profiles > (otherwise the disabled profiles seem a bit pointless to me, why not > remove them with #; and avoid some build time)? This mechanism already exists, it's source /path/to/profile/etc/profile.sh. "enabled?" here really means "sourced on startup", i.e. "enabled by default" when you launch a shell. Admittedly, having a disabled profile is not that useful in the context of guix shell existing, but there might still be some legitimate uses. For instance, on certain foreign distros in which XDG_DATA_DIRS is fragile and precious, you might put graphical applications into an extra profile that you source late. Or for debugging purposes, you could set aside a profile that contains just coreutils and less, so that from /tmp/guix-build-... you can source that rather than a full- blown profile (after evaluating environment-variables, you won't have access to guix!) Cheers