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 4NzFBP+i9F/LGgAA0tVLHw (envelope-from ) for ; Tue, 05 Jan 2021 17:33:51 +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 mNOiAP+i9F9LYQAA1q6Kng (envelope-from ) for ; Tue, 05 Jan 2021 17:33:51 +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 25964940509 for ; Tue, 5 Jan 2021 17:33:50 +0000 (UTC) Received: from localhost ([::1]:39816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwqDM-00028L-87 for larch@yhetil.org; Tue, 05 Jan 2021 12:33:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwpiR-0007J4-T7 for help-guix@gnu.org; Tue, 05 Jan 2021 12:01:51 -0500 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:42495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwpiP-0002aQ-HR for help-guix@gnu.org; Tue, 05 Jan 2021 12:01:51 -0500 Received: by mail-qk1-x736.google.com with SMTP id 22so27082183qkf.9 for ; Tue, 05 Jan 2021 09:01:48 -0800 (PST) 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:content-transfer-encoding; bh=AQtrKWBn7YS9MUm7ObvHRZqxqd+ejUqfzFf0hixu3LY=; b=APrWSuyT5fndf2s5YB03Wi7/GeDrrVnW4m1btMTjOPmweXdWiUXTRo5sVIJWH/Y0xR U3KgS3axzRBbeZF8sDLf4MRE32randidEkAlkjHjStiEKD7qTE0LPiMeoo0jmxQnNkdk Q4Ipy/D0u3lyz4mNMrL6YmY0yW0PQvMIHq7VtOn4nxQ2ZdostwSyaGXlmDqlXrflsOvP jx5M1L+RZyHZ93uQfxtO8a8eYojW5BJh46QiN8BAnjb8ZnQYzmKON52vTJXEcaoIrjHX UY0hc8KRFvniIpTH7op4QAaI4FJVEpZIq/D4RGhENGRpAu+/b0fk18jP1JIZPdtMPwMd +Duw== 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:content-transfer-encoding; bh=AQtrKWBn7YS9MUm7ObvHRZqxqd+ejUqfzFf0hixu3LY=; b=GPJR7pwD6303OkOPaYD0gUceq4ZbWEJQLtk4dkJEhmL3NG9VFNBaQdrLs//KlP2Mpb ckc6fcSWtVppcyUWx8ERrYcd7KCjce/sYPSOFI1bhw2PS74eJ5In94xSaSocVfbj94RH ydRacF1xYWnFn4rCylCk8d/LLMrGaEYC6d/e7TABqyv0AVlaSHDb1Q5Z6ZJlSIVhahwy IMDELo61DvLzNz2v/WfyhlhZoT3XpawBz+G6TiFScWfoewTWLmggAsLRGbM7yVVetM8c 2a8fBQJiQHe/GD2sutvAzquZ6aCo2NtFQwJJIokTt+R2vgMELVw3VMA62SVm92X4jI5S H4dg== X-Gm-Message-State: AOAM532Ru7br1mc5wx99o9eiDCNIo5bP6jSi8cid7meNuOKbBa1dzv/M 2PerNqJF7Ieo8DsItXk80LNfcMgRyuxpDlI1sfkAOTN+XWs= X-Google-Smtp-Source: ABdhPJxzaObKfajEt85sVbQWTHkuBUPHK3ZCF63ye8SOHMl6FBrt4A8796QfUVX4agTBFvlDr+lC7kBA5erZxNiQJk8= X-Received: by 2002:a05:620a:2105:: with SMTP id l5mr468784qkl.126.1609866107491; Tue, 05 Jan 2021 09:01:47 -0800 (PST) MIME-Version: 1.0 References: <857dp1yg0f.fsf@beadling.co.uk> <86o8ibs95q.fsf@gmail.com> <85mtxor4pq.fsf@beadling.co.uk> In-Reply-To: <85mtxor4pq.fsf@beadling.co.uk> From: zimoun Date: Tue, 5 Jan 2021 18:01:36 +0100 Message-ID: Subject: Re: Channel details of profile generation To: Phil Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x736.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: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=APrWSuyT; 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: 25964940509 X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: BKJ7EKW6kt4l Hi, On Mon, 4 Jan 2021 at 18:29, Phil wrote: > > Could you share how you generated the profile =E2=80=99my-profile=E2=80= =99? > > Yes - the issue here appears to be the inclusion of a package from a > private channel in the manifest. > > If I create a manifest only using Guix packages - everything looks OK - e= g: > > ubuntu@test-image:~/guix-manifests$ cat test-manifest.scm > (packages->manifest > (list (specification->package "python@3.8.2"))) [...] > ubuntu@test-image:~/guix-manifests$ guix package -m test-manifest.scm -p = ~/guix-profiles/test-profile [...] > ubuntu@test-image:~/guix-manifests$ guix pull -p ~/guix-profiles/test-pro= file -l > \Generation 1 Jan 04 2021 17:00:58\ (current) > python 3.8.2 As I explained in the previous email, even if both are profiles, they are not the same. Basically, "guix pull" is for "~/.config/guix/current" which is somehow special. Therefore, I do not know what you want to achieve with "guix pull -p ~/guix-profiles/test-profile -l". Maybe, what you want is instead: ""guix package -p ~/guix-profiles/test-profile -l". Otherwise, could you explain which result you are expecting whatever the command to use? > But if I now also add a package from my private channel to the manifest: > > ubuntu@test-image:~/guix-manifests$ cat test-manifest-2.scm > (packages->manifest > (list (specification->package "python@3.8.2") > (@ (py-test-pkg) py-test-pkg-develop))) This looks weird to me. For example, I have 2 channels: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 99 Jan 05 2021 16:56:39 (current) guix-science cf87b05 repository URL: https://github.com/guix-science/guix-science.git branch: master commit: cf87b0501c4a38b96edf41025a27bf1cb91f521a guix 957f0c4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 957f0c40327ce00f53db22737e3775ce616ac258 --8<---------------cut here---------------end--------------->8--- and let consider this package from the extra channel: --8<---------------cut here---------------start------------->8--- $ guix show python-nose-exclude | recsel -p location location: guix-science/packages/jupyter.scm:71:2 --8<---------------cut here---------------end--------------->8--- then my manifest.scm file contains: --8<---------------cut here---------------start------------->8--- $ cat /tmp/my-manifest.scm (specifications->manifest (list "python" "python-nose-exclude")) --8<---------------cut here---------------end--------------->8--- and "guix package -m /tmp/my-manifest.scm -p /tmp/test-profile" does the jo= b --8<---------------cut here---------------start------------->8--- $ guix package -p /tmp/test-profile -l Generation 1 Jan 05 2021 16:58:40 (current) python-nose-exclude 0.5.0 out /gnu/store/...-python-nose-exclude-= 0.5.0 python 3.8.2 out /gnu/store/...-python-3.8.2 --8<---------------cut here---------------end--------------->8--- And even "guix pull -p /tmp/test-profile -l" works. Now, I replace the manifest to only contain the package hello. --8<---------------cut here---------------start------------->8--- $ guix package -p /tmp/test-profile -l Generation 1 Jan 05 2021 16:58:40 python-nose-exclude 0.5.0 out /gnu/store/k3n4qxakw4rjjg81sfkaxcgln5xhaj3r-python-nose-exclude-0.5.0 python 3.8.2 out /gnu/store/9h5pjxj879y9rzy04m1v9835l4fblw95-python-3.8.2 Generation 2 Jan 05 2021 17:05:29 (current) + hello 2.10 out /gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10 - python 3.8.2 out /gnu/store/9h5pjxj879y9rzy04m1v9835l4fblw95-python-3.8.2 - python-nose-exclude 0.5.0 out /gnu/store/k3n4qxakw4rjjg81sfkaxcgln5xhaj3r-python-nose-exclude-0.5.0 --8<---------------cut here---------------end--------------->8--- Then, I re-use the 2 pythons packages, re-upgrade the profile and then: --8<---------------cut here---------------start------------->8--- $ guix pull -p /tmp/test-profile -l Generation 1 Jan 05 2021 16:58:40 python-nose-exclude 0.5.0 python 3.8.2 Generation 2 Jan 05 2021 17:05:29 hello 2.10 Generation 3 Jan 05 2021 16:58:40 (current) python-nose-exclude 0.5.0 python 3.8.2 --8<---------------cut here---------------end--------------->8--- > ubuntu@test-image:~/guix-manifests$ guix pull -p ~/guix-profiles/test-pro= file -l Even if I am not sure to understand what you want to do, I am not able to reproduce. With /tmp/my-manifest-{1,2}.scm containing: --8<---------------cut here---------------start------------->8--- (specifications->manifest (list "python")) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- (specifications->manifest (list "python" "python-nose-exclude")) --8<---------------cut here---------------end--------------->8--- I get: --8<---------------cut here---------------start------------->8--- $ guix package -p /tmp/foo -m /tmp/my-manifest-1.scm The following package will be installed: python 3.8.2 $ guix package -p /tmp/foo -m /tmp/my-manifest-2.scm The following packages will be installed: python 3.8.2 python-nose-exclude 0.5.0 $ guix pull -p /tmp/foo -l Generation 1 Jan 05 2021 17:47:34 python 3.8.2 Generation 2 Jan 05 2021 17:58:22 (current) python-nose-exclude 0.5.0 python 3.8.2 --8<---------------cut here---------------end--------------->8--- All the best, simon