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 ms11 with LMTPS id UJTPBSTc7F77LgAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 15:39:16 +0000 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 MLuVASTc7F5DRAAAbx9fmQ (envelope-from ) for ; Fri, 19 Jun 2020 15:39:16 +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 819CB9407C6 for ; Fri, 19 Jun 2020 15:39:15 +0000 (UTC) Received: from localhost ([::1]:48476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmJ6o-0002yx-Cz for larch@yhetil.org; Fri, 19 Jun 2020 11:39:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmJ6U-0002xg-Ao for guix-devel@gnu.org; Fri, 19 Jun 2020 11:38:54 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:38161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmJ6S-0005ME-JM; Fri, 19 Jun 2020 11:38:54 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id ec10so4642213qvb.5; Fri, 19 Jun 2020 08:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N+8frPY3a1RlZ7wnl1hH7WMMeuG8AWuckHWZ6g0bC1Q=; b=lWy0gAWwo5b0Lu2OZEbbVqzWz9IYInJyRhi8IONz0GRD5Ht2lNHPUdMTmE4/11tv0J eFlFiFsq3SLgNpByPI/SOa8wyI26Q6gREelizXBNUdA4GzYQ2lglgNqt4q9JlpjxavoU xNoxJLyuOA4/5YDj+LjjaY7SSW1BUcbMl9+v4YvLCb2ebkLxgzCgJC8MJs/RClwDI11u pvTce0lyjfR8k2RNQeSUcPm5zFnpzLMeu3CfyCmBRUYwTQ+XYQY2iItn7uixpbbzRmws FbS/TamTJsT/3GXcqD0AYYzGf76aYAoNUJF8kafoRnx/D4vAMBfPFOzeR2vyAYIDMlSl cgDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N+8frPY3a1RlZ7wnl1hH7WMMeuG8AWuckHWZ6g0bC1Q=; b=Hq9rlbreh/uTyWg2DM72MjPoJSCDGI1HGY667JlnaIoVSs2QVRVMzESOQwFkVjJBDC pKrN8biqvaFZJrgV6aTYpVxQVUEIjGsP6dy08ZLdJQTsgCkQbswIFuP4ebxkwy/eDPBY f3dmzOrVw1NQd8yao97CGvtwyQzhOhV0PyQeBUxp/j6cPDKec0quYm/CCE+rzytYvU3I e+GrAUg8db22SSrbAxH4e4LsfPaLZxRs2tOs8RaiDsrzjdhMGfE7Fl1wjrxhjQQ/OEvJ LiFwimtrmWy5rldUCNRC0TTu7B/8pYW57NW7amplvt88waf69e4ieRclm8WREQ3+Wuu7 P79w== X-Gm-Message-State: AOAM531wkuAHu4wypDfzGfi0QfOkVYaQ23Nlnx1IOPMX48uwIECS0Qo/ qWxt6LThO/1Ja6awgGIOqzibfbEa/AofBcF8T7pMHLLXIjs= X-Google-Smtp-Source: ABdhPJyXwLoMyjHWvCjVWh3aFF3++2/mumwvehOrLLcqyfiMQ/A39lisl+6v6M0kgDgl6vVi7HS2LU/93+lsmM5DkmY= X-Received: by 2002:a05:6214:18c9:: with SMTP id cy9mr9074629qvb.77.1592581131287; Fri, 19 Jun 2020 08:38:51 -0700 (PDT) MIME-Version: 1.0 References: <338KGSFKQGP1E.23382XUCMS8T3@wilsonb.com> <87v9juwvn0.fsf@gnu.org> <87d062ne8a.fsf@ambrevar.xyz> <87y2opu0ue.fsf@gnu.org> <86lfko92fj.fsf@gmail.com> <871rmfwdfp.fsf@gnu.org> <2AU8F0YU6YV9A.3KVDEJ754D654@wilsonb.com> <86sgevqg8q.fsf@gmail.com> <268B906X3RZH5.3NHG3ABUCOVPN@wilsonb.com> <861rmexgwf.fsf@gmail.com> <35VODTGT3A8OP.2ZYCBD56EYVPN@wilsonb.com> <861rmcvssb.fsf@gmail.com> <35IQNXNGMD4MQ.2U3WRPXMLCVVA@wilsonb.com> <86sgerv4nj.fsf@gmail.com> <20D5XZWWIP8NW.2T1GC8IP1QN8L@wilsonb.com> In-Reply-To: <20D5XZWWIP8NW.2T1GC8IP1QN8L@wilsonb.com> From: zimoun Date: Fri, 19 Jun 2020 17:38:40 +0200 Message-ID: Subject: Re: how to "guix pack" a profile? To: elaexuotee@wilsonb.com Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=zimon.toutoune@gmail.com; helo=mail-qv1-xf2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=lWy0gAWw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Spam-Score: 1.09 X-TUID: 80vXqgxLBTgL On Fri, 19 Jun 2020 at 14:34, wrote: > > > 1. Composable profiles, > > > > This is already possible. > > Would you kindly point me to the documentation? I am failing to find it. guix install hello -p foo guix install emacs -p bar eval $(guix package -p foo -p bar --search-paths=exact) So it composes. However maybe not what you had in mind. ;-) > By "composable profiles" what I have in mind is the sum of two existing > profiles and extending them as necessary > > $ guix environment --with-profile saved-profiles/profile-A \ > --with-profile saved-profiles/profile-B \ > Yes, because "guix environment" cannot support "profile". As said, IMHO you raised 2 interesting use cases: 1. create an environment based on a profile 2. pack an existing profile Obviously "a profile" means the composition of profiles if any. > I agree. If I'm to make any points, I should just submit some concrete patches. Patches are always welcome. :-) Cheers, simon ps: Well, maybe we are falling in the "take it to private email" thread pattern. ;-) https://joeyh.name/blog/entry/thread_patterns/