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 ON+6CsSM7F6ACgAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 10:00:36 +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 +J6ZBsSM7F7bVQAAB5/wlQ (envelope-from ) for ; Fri, 19 Jun 2020 10:00:36 +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 E646E9404D3 for ; Fri, 19 Jun 2020 10:00:35 +0000 (UTC) Received: from localhost ([::1]:45966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmDp4-00076t-Rd for larch@yhetil.org; Fri, 19 Jun 2020 06:00:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmDot-00076i-HG for guix-devel@gnu.org; Fri, 19 Jun 2020 06:00:23 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:53427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmDor-0001ui-OI; Fri, 19 Jun 2020 06:00:23 -0400 Received: by mail-wm1-x334.google.com with SMTP id l26so7878075wme.3; Fri, 19 Jun 2020 03:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=jl0l3qP3yBReg/S+jigiXQ//ATKN/K9M77fZ8YhBl8o=; b=cEApJzzBMVbKDG4sE63FIAixaWrtqCbGixhgCFELRpIUZiefxjfM8uE7WQMFHZOFQ4 f8mtYvW4+ni4+BN1Wz04O3qSt7Gr+tUuUfGqGEcfHEaTVyeMnlgKn+vO6vb/ZepOXJBd y5fDdTpc9kLD6QMM+lFV9iG7RYCjI46IGOFLuJID9K3owE8o2/9WVUyq+Dh3RngqKtGa HNwhBOfXu+Qpl1EZIYkHoGRLCbUkEqONaFktvmEIPhKaptOVkvTECi92MXTTJybeog8c +fvePqL7pqenBpuX8kZVnNCLOxcieqzlkTWIx/LTsCWeBMHDf0ReSzfcoZeEUsdBmAdY iUcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=jl0l3qP3yBReg/S+jigiXQ//ATKN/K9M77fZ8YhBl8o=; b=XvjGyb9UT/m9NL8zcLVMSEYMOZuvlDtXF8c6PN3eR3uhOK0ZlF7Vd2CoOrvx8yYBJ0 jrJdn33Hd07gwqCia8Lkx5fVNV3VTztMtHJCENWuhiEVGMIoZDYi0+bE/dzCZdURym96 mFzkUkMujDHVDxCs8taXkQgM1raWWw+nmS451Xi8qpNCp2C5+FEgFm7rbWsR3LdtP2BQ XlzDY7R0jjWxCevECdqBj6+6zD99bokXD7xwadeB5Z1wakutQmr79pnQllZZsT0QIK/s DskDd9zuMWmMEWj/hooqM1rsBFzdCGWZC8lhKGGFt/Y7X3xm6zsjOhQi8Mfpw1x0xWxB CgLA== X-Gm-Message-State: AOAM531ABVsATevT5JZN42CikSyxxEXapziMypCqtFgZyzjzqLOZSs9N Oib8a7LqKgKJq0Qzz9Fdg7oeHoQG/+Q= X-Google-Smtp-Source: ABdhPJzBDEuMQu0Wcl93Exszq5BxBxuLuTDUjQLRm0EBR3xfvr32+t+S+cEt6K7wYTU5dv9dS4gzXA== X-Received: by 2002:a1c:188:: with SMTP id 130mr2930683wmb.93.1592560819591; Fri, 19 Jun 2020 03:00:19 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id 7sm3787730wrc.94.2020.06.19.03.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 03:00:18 -0700 (PDT) From: zimoun To: elaexuotee@wilsonb.com Subject: Re: how to "guix pack" a profile? In-Reply-To: <35IQNXNGMD4MQ.2U3WRPXMLCVVA@wilsonb.com> 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> Date: Fri, 19 Jun 2020 12:00:17 +0200 Message-ID: <86pn9vv0i6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x334.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 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@gnu.org 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=cEApJzzB; 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: ITbZdEUrvzah On Fri, 19 Jun 2020 at 11:52, elaexuotee@wilsonb.com wrote: > You emphasize that declarative package management with "manifest.scm" is the > way to go. I agree but wanted to point out that > > $ guix package -m manifest.scm > > produces a different /gnu/store/-profile, depending on when it's run (or > more precisely, depending on which channel commits guix resolves for the > invocation). Yes, but AFAIU the correct is: guix describe -f channels > channel.scm guix package -m manifest.scm then later or elsewhere, reproduce with: guix time-machine -C channel.scm -- package -m manifest.scm > You know that, of course, but the point I try to make is that "manifest.scm" > and "channels.scm" are *not enough* to uniquely determine a specific > /gnu/store/-profile. We need to separate out the concepts of "declarative > profile management" and "deterministic profile regeneration." Do you have examples? I am not sure we are talking about the same channels.scm file. I guess, you have in mind ~/.config/guix/channels.scm but it is not the one of interest for reproducing. You need the real one, i.e., "guix describe -f channels". AFAIU, manifest.scm+$(guix describe -f channel) is enough to have "deterministic profile (re)generation". If not, it means there is a "bug" in Inferiors or I miss something. All the best, simon