From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id FLHcL2CF7F9oNwAA0tVLHw (envelope-from ) for ; Wed, 30 Dec 2020 13:49:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UNVyK2CF7F+IBQAA1q6Kng (envelope-from ) for ; Wed, 30 Dec 2020 13:49:20 +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 237329401BC for ; Wed, 30 Dec 2020 13:49:20 +0000 (UTC) Received: from localhost ([::1]:57814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kubqo-0007Rv-Ng for larch@yhetil.org; Wed, 30 Dec 2020 08:49:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kubqg-0007Rk-Ao for help-guix@gnu.org; Wed, 30 Dec 2020 08:49:10 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:34943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kubqe-0003b2-Gt for help-guix@gnu.org; Wed, 30 Dec 2020 08:49:10 -0500 Received: by mail-wm1-x32a.google.com with SMTP id e25so4790244wme.0 for ; Wed, 30 Dec 2020 05:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=qTHiuZeq2wi4DBca/0vcgEgzw9kbGoF9lbnaVfDSPEs=; b=u1UJUDr+/EnX5FROlUpJPpfz6Dz0Ac+FL9G3ol1Jfgsylq4f1WyyfygqorPVT9YEFU POPUO6uhW1H/ATHDT5SJ5SY9y+djmtMTbD24N1uIDN1L9rgcWUBww1Oe+65Er08TPX36 PSS9+6UT3Tzmiv3HqdOuH4gl/hJPk/Op+7Vncxd38VyzciWYSYujEIdkl6hgDWjRMf/3 xeM1zlIHpxjLQaYY6dNMH+1/m0nvMu8PltOGVJNE8ci8UmU5bHCObHxjFRnv5uRpQLCU mwvLa//7rHlM3x6o2YrafUhPiXwBZfKg3Ho1mUc7Yn4lijgYygNlFrXlh4c+ZWW2vknl OOgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=qTHiuZeq2wi4DBca/0vcgEgzw9kbGoF9lbnaVfDSPEs=; b=LZDi+3gdWlHXEifsZ9boNIKE7yA0hR0L4tzrqgAUX5P+f/BASuziJH3w8A7Z/r7Kpn tLzcXQatMxVeamXF6OjMm7vjS7i8VIMBktHLu2ToenYLgGoQ3MRfETFaeqphcmy4WM/q TAQUigQf0qhmyseZ7wi5KKlDG69n3YyAsAldfxtYyX1rAeyN+tqR/TO5D6A/jILIX/Ru RFocOlGW1nAY4jk2XmuaJGBgEUhIiCwVM7wlYP+NWG92HAW0BofUmOzr5nHgWme/RQw3 dXFMVjZI9a76pjH53sKOgl9KUj4rx6U70j0tBbCaVFXJNhREk+RNySItLrHGfYV/EaJ+ k6lw== X-Gm-Message-State: AOAM532iZNeGXeeiJJ3C907RThgoXMY2Q3CHTKyK2mzEEMAvzBDimZq5 AO1GVSySlNCvI3gc6jK0ROEIFZakADA= X-Google-Smtp-Source: ABdhPJz2+Q+EXYKy5tnaF4BNKj9BvLrhcOAqndNxPekIxZftZDllWmiMXKalS23mgxjBMShsApXEGg== X-Received: by 2002:a1c:6287:: with SMTP id w129mr7617907wmb.71.1609336147184; Wed, 30 Dec 2020 05:49:07 -0800 (PST) Received: from lili (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id j2sm63815941wrt.35.2020.12.30.05.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Dec 2020 05:49:06 -0800 (PST) From: zimoun To: Phil , help-guix@gnu.org Subject: Re: Channel details of profile generation In-Reply-To: <857dp1yg0f.fsf@beadling.co.uk> References: <857dp1yg0f.fsf@beadling.co.uk> Date: Wed, 30 Dec 2020 14:41:53 +0100 Message-ID: <86o8ibs95q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32a.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=u1UJUDr+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 237329401BC X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: sbo55dUudceF Hi, On Mon, 28 Dec 2020 at 17:52, Phil wrote: > guix pull -p my-profile -l > > But this seems to crash: I am surprised. > blah@phil:~$ guix pull -p my-profile -l > \Generation 1 Dec 22 2020 17:24:53\ > my-test-repo 1.49-3.f08de71 > \Generation 2 Dec 22 2020 17:50:28\ > guix 13d532a > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: \13d532a91178be7b6919b85685b150f941116dfc\ > foo-packages 8fc6134 > repository URL: ssh://git@localgit:7999/foo/foo-packages.git > branch: master > commit: 3dc613449f59ba8a8fdc35cadb7667ddaaf7fd9b > Backtrace: > 11 (primitive-load "/home/blah/.config/guix/current/bin/=E2=80= =A6") > In guix/ui.scm: > 2127:12 10 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) > 1731:15 8 (with-exception-handler # =E2=80=A6) > 1731:15 7 (with-exception-handler # =E2=80=A6) > 1731:15 6 (with-exception-handler # =E2=80=A6) > In guix/scripts/pull.scm: > 636:4 5 (_) > In guix/memoization.scm: > 100:0 4 (_ # "guix-profiles/py-t=E2=80= =A6" =E2=80=A6) > In guix/scripts/pull.scm: > 538:21 3 (_) > In guix/inferior.scm: > 256:2 2 (inferior-available-packages #f) > 251:13 1 (send-inferior-request (defined? (quote #)) #f) > In ice-9/boot-9.scm: > 1669:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > In procedure struct-vtable: Wrong type argument in position 1 (expecting = struct): #f Could you share how you generated the profile =E2=80=99my-profile=E2=80=99? > Os there not already a cannonical way to do this in Guix? If yes, > what is it? Well, I am missing what you want to achieve. > If no is my approach below sane, or is what I'm trying to achieve > ill-conceived in any way? The profile used by =E2=80=99pull=E2=80=99, by default ~/.config/guix/curre= nt, is somehow special compared to other profiles as ~/.guix-profile. > Finally, what's the intended difference between 'source and > 'provenance? Compare: cat ~/.config/guix/current/manifest | grep -E '(source|provenance)' cat ~/.guix-profile/manifest | grep -E '(source|provenance)' It is my understanding and maybe someone will correct me: 'source is the =E2=80=9Cproperties=E2=80=9C tracking the channels from where the =E2=80=9C= pull=E2=80=9D comes and 'provenance is the =E2=80=9Cproperties=E2=80=9D tracking the channel from w= here the packages come from. Well, 'source is used by =E2=80=9Cguix describe=E2=80=9D but 'provenance is= not used=E2=80=93=E2=80=93it is by =E2=80=9Cguix pack --save-provenance=E2=80=9D but that=E2=80=99s anot= her story. > To my mind - If a profile generation has a manifest which contains > branch/commit details of the branches packages were created with - it > seems reasonable and useful to report that information? Report where? Hope that helps, simon