From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kLMEEhv+cWK/BgEAbAwnHQ (envelope-from ) for ; Wed, 04 May 2022 06:16:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WFEOERv+cWLhBQAAG6o9tA (envelope-from ) for ; Wed, 04 May 2022 06:16:27 +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 0B80EAAC0 for ; Wed, 4 May 2022 06:16:26 +0200 (CEST) Received: from localhost ([::1]:55550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nm6R7-0001wl-Sc for larch@yhetil.org; Wed, 04 May 2022 00:16:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nm6Qt-0001wY-1p for guix-devel@gnu.org; Wed, 04 May 2022 00:16:11 -0400 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:34811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nm6Qr-0008CI-Hl for guix-devel@gnu.org; Wed, 04 May 2022 00:16:10 -0400 Received: by mail-ej1-x644.google.com with SMTP id g6so649109ejw.1 for ; Tue, 03 May 2022 21:16: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=XHBT8fJpJWIoNiFOhfaC82YKsU03/3dfY7mEL72T9EA=; b=abM9EGRCH1F7O6lubO88pIRLIJjyy4d6SJpB+qGlYppAkNnDIoge5I8Iwt976W0cXi nuWQ8LfpK31vjlOkml3IRIWgBzSa7bUTopyGNfO92JHbtbOpGDnS5JByEU/1FhN77yyJ R9JQyfIgSzvAcR89FSWE0xx8OKqUnfE7QfKFlDKmK5zDgbfUM1QUFL6Lkbp3wDQqqO9A ibKdpBZxZKrpiR/X/eGglXq/bP35zrPdr3A0K81i1xHxHbLUVk7atrh19uFPKMoU4Od3 i8mBfTcWxg4qHDhGbfaHv5Rmgc5WW+yBIJ69QnVLaPF9BNU6T1tyLFI7RLObTdAPL9+L 8Euw== 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=XHBT8fJpJWIoNiFOhfaC82YKsU03/3dfY7mEL72T9EA=; b=gl75lW+tsJkQznU4UtHBZBoFLKZBVmi4YZNXn/FBhm1Y3FjaqQ1lkfMFfMUNn2jZv6 vs5sFWx8LxbwNyBqKe/yIkxfjS3Yl+PTrS8hTCUiynNvrLqS/5PwU8mqcEhc2F7NFGni d5FqO7HvARaTPQLDH/ELuTX6t59YGKNHXJTuFRoBsxpiCtjnNDjkZeOhHJFglqfyVqtt yj+yyQQGqnFKuR9Y9tkFIGfXnFXBRVemR7zeANBE+h/KtYdzCV5WG/NWU9bWvCwaUDYy R/oy8owSLrrRdXyRuvi+2a80KtYb2CMUk2oCRcHZ6+VLtPUHjKBYQH8AmQRnMNZsXRhM 6T3g== X-Gm-Message-State: AOAM533CMb5zPYPc7U3QoibYPMvf/xx5mAYvzVr5GMJB6mC38RVJQQMi kdX4h8ylgHL/U7eaHut7a4Q= X-Google-Smtp-Source: ABdhPJydqD0nUsx6PQ+eRp8jaionYg7whqhyyP9p7VTCJd8uieJbZVKVpdrGk9q/F4BkLGJiVHg7cA== X-Received: by 2002:a17:907:3d91:b0:6df:a01c:f7cd with SMTP id he17-20020a1709073d9100b006dfa01cf7cdmr18451954ejc.255.1651637767948; Tue, 03 May 2022 21:16: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 f8-20020a50fc88000000b0042617ba63b6sm8607620edq.64.2022.05.03.21.16.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 21:16:06 -0700 (PDT) Message-ID: <25e0ca9be4053c94d12461ec42f1985cd6730a8f.camel@gmail.com> Subject: Re: Multiple profiles with Guix Home From: Liliana Marie Prikler To: Maxime Devos , Andrew Tropin , guix-devel@gnu.org Date: Wed, 04 May 2022 06:16:05 +0200 In-Reply-To: References: <8735hqvh4a.fsf@trop.in> <8a42a0c84d35231b360a421fe0b846c8e1aa3d2c.camel@gmail.com> <8b66e609b7c9d5183017ccf7fef47c818fcea231.camel@gmail.com> 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::644; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x644.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=1651637787; 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=XHBT8fJpJWIoNiFOhfaC82YKsU03/3dfY7mEL72T9EA=; b=Hf/+kYAqfgNWzEpl5qROeOcx52eFhlZUJSkV7mQzt1mds+tidO7vqIzbMR618TRmxo0dic 7G8UK82Rayk14kelclpGJZDICqUo7cGju5rml1o254P40MMz3BXxHdC3+fiE1bLfQZnkNr XKx/IIsvr22Q9xQOPCOcnMlCjbYUwU8VZ5cRarQAWQLlHv4XTiVroZH/LHhSJ4QHm/hLAw gtQWmCiD7G9uldpOdA619VwtRPpImdGkizpIFdZyrm8vQh9LEmXulk5grEeSDhtG0KZ9vv tmEVVLbLZY7IMeD4oyWv/elAaQY8vkvZEgYEv7nvk9pVS4Wb6r8LDcvIv2q4wQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651637787; a=rsa-sha256; cv=none; b=sy+oBn1Kz0fb3jx60Sxl/E1UirnLJcR/x/E6ueOpAzswACldn/v99UtYehvNNty7eakgNe Ea9MumH+BjuNHgmXq402ZU2dz8+0dhEZ4ATG0LyufXtNA6nuFT/iD5T2H4w1QhGHsinRQx weokbNgDLC646cMJImu5Vjs/3OmApBKt07OOhxqT3EIExKcg8W/458UXY8VLlG96VBoDxk 3EnzBXDxpQnjqPxw/zlCuiYNEk3k+hb83cAfhVr2EMVePRTO2TjOc+fs5xecmp+0vUrFRJ m+HBa8ZJk3XNpKl+Ob6yOLlSX0h0sTVwDI+5r+wx8RxgQ2otYiI41LNJ2DPsXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=abM9EGRC; 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: -5.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=abM9EGRC; 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: 0B80EAAC0 X-Spam-Score: -5.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: kDmQaZqVadUg Am Dienstag, dem 03.05.2022 um 22:59 +0200 schrieb Maxime Devos: > Liliana Marie Prikler schreef op di 03-05-2022 om 22:04 [+0200]: > > > > but the fact that they need to code up their own shell wrappers > > > > to manage multiple profiles is not good optics imo. > > > They don't have to code up shell wrappers or split profiles.  > > > They can just use a single profile. > > This sentence signals to me that you didn't think about this mail > > at all.  Consider that people may want to split their packages > > across small thematic profiles, but the current implementation of > > Guix hinders them in doing so. > > I did think about this mail.  In particular, the parts about faster > union building.  So my response was about making profiles faster > without having to figure out how to split profiles -- neither > manually (see suggestion about automatic profile splitting) nor > automatically (see O(n²) vs. O(n lg n) union-build). Note that I only spoke about costs and benefits in terms of runtime, because I assumed that to be what Andrew meant by costs and benefits. Managing multiple profiles declaratively OTOH is itself a benefit that ought not be ignored! Also kn log kn is still bigger than k(n log n). > Until the previous mail, I have not seen anything about thematic > profiles, so I did not have thematic profiles in mind in my response. > Even then, I'm not sure what these thematic profiles are supposed to > solve that is not working around some underlying problem (e.g. slow > profile building times). Pierre's "Guix Profiles in Practice" is a 2.5 years old blog post. If you can't think of any uses for multiple profiles, you're not the target audience at this point. Cheers