From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GMpZI0zAuWIFCgEAbAwnHQ (envelope-from ) for ; Mon, 27 Jun 2022 16:35:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CH9fI0zAuWIjXQAA9RJhRA (envelope-from ) for ; Mon, 27 Jun 2022 16:35:56 +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 21649B6BA for ; Mon, 27 Jun 2022 16:34:49 +0200 (CEST) Received: from localhost ([::1]:52728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5pp9-0007wv-OY for larch@yhetil.org; Mon, 27 Jun 2022 10:34:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5pn5-0004iL-3e for help-guix@gnu.org; Mon, 27 Jun 2022 10:32:39 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:39551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5pn3-00030M-8h for help-guix@gnu.org; Mon, 27 Jun 2022 10:32:38 -0400 Received: by mail-wm1-x32d.google.com with SMTP id c130-20020a1c3588000000b0039c6fd897b4so7631088wma.4 for ; Mon, 27 Jun 2022 07:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=LH0HHmXx6jwy8ffgePTfF9wlSadQMV2HeN5q3V9q3I8=; b=bdcbjRB0i4gIQiIukmY5BN5ahvY316U2Xl3fcHMnLgq77XouSc+0tnLHO773PMeNl7 RS4Wnhx5zuWgQGnai6wEuZa6n0lNNplHwh1bPd1o+KCTIWXGFhYWUUeFeH6NcMBaJ/U2 3w5KO534vLhAzkTvoh+E1dl1ZUs5CTu9KeBoF8GmbfcgOEOn26956vGVZWYyOuA+c/Jf bxnfz9LtuJrOBtbSNI6Om1h4aQde74AsPeR05mrkJdCn0a/mQu79m+YMQHDYkP1HYGfX GZxUxf9Sq1RfgJffy2xIO4DkJoNVwMiQrN7erV4ZYSkM4YeYcEg/ROWKb/UAwOXZRtaG bnkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=LH0HHmXx6jwy8ffgePTfF9wlSadQMV2HeN5q3V9q3I8=; b=fAU4f2FnWX4Bq7NSDQeKjEb1gJurFOADqt5UTL2x6Sot8tPrVgJyWp0RKZwtKkROJn 5mE750UCLQO438JIkRfEI8mSncYHtR2WS4PnqQHNN4XizcAMFlgLirdBEHc3V2CQ4gZC GlovBKSFr1VgHmUSFHMHqg+GvtcaZyBhk0y+nSh/+YiC5/bMZiXKt5opQqGh3DTn192p 5XPjpNgyM9MeMRX0o8nB0XxFC/aOZaE4UgRuNDOEXJURMOm+ZaYt6axiK6P6UdUYi/CE lEyXGUy7Szn8SIZo+zTPoMFOY6vloWZqwOQgZQpw1tdEBUAzOlqqBxYoj8ILuhzxs0K2 HpTg== X-Gm-Message-State: AJIora/vbplKXJAt0rYJt1Amt/wUcNvEl81pcfs/GC8sWcrlt/8PgPUh GDsjSzIhZxrMKaxYgt2QPSvV82o5Bfg= X-Google-Smtp-Source: AGRyM1uRuBG8kJzypewL7kGzrGzo9z5mPdH6BwXszll+3Y6FCXuiVw4EUnGIqVFor/UQo3Gjl9DjdA== X-Received: by 2002:a1c:7305:0:b0:3a0:3f67:de25 with SMTP id d5-20020a1c7305000000b003a03f67de25mr15774090wmb.186.1656340355450; Mon, 27 Jun 2022 07:32:35 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id ib3-20020a05600ca14300b003a04e6410e0sm1189687wmb.33.2022.06.27.07.32.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 07:32:35 -0700 (PDT) From: zimoun To: Emmanuel Medernach , help-guix Subject: Re: Trying to replicate guix packages list on another machine In-Reply-To: References: Date: Mon, 27 Jun 2022 16:32:31 +0200 Message-ID: <87r13aw51c.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::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.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: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-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=1656340489; 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=LH0HHmXx6jwy8ffgePTfF9wlSadQMV2HeN5q3V9q3I8=; b=jzy2YlRKK+ckqHv6mTQs2SWAYvBLI12NCefF3lpQ51BItSu3W2j7bvSZhkOkV2o1QQScXt IQE5xj169rGFRab62L/KBFakXDgoFjq3enzB4vN8C59BI2v3XW0vBQsCGnXeqF/3Tb3Slk EBdltKUkXH0UDYYuJVit7jQy3MxzbXjQK/IDnFNJnzPoDEAvqfegAb1uTUUvC/HWICtypH dVFRVzH+U5nxsEYUQ4a1Bu7/nMWBhOah704NdJ5IRwDGEVOEGwETz7Fd8vwsOcME4waWcI 9gAnB30rwcOMDG4FeD3ycAqilbaRp9d5UZNPWaSY2BvirOBlMN4p5bIhbeb3JQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656340489; a=rsa-sha256; cv=none; b=s1kqB7KHecbsLQTSpZZYBcJHwppJUMlQzXkiNTQgw9z9wXW9C7uDLmlevJ/j9g6KOEmEZZ mvihymQuylxykef6Wt8DkIloj5MJ0OVT3zeovBz/It3rn0K4DUa/CNlWvBiPl36NRdn/83 ALFdXqGP/APXu+hZXE22Nc5+J+9SeziOdbLRyM9Wa+u264QqspBVY2IgvPCj8q6MTMzdbs 7YFJKXa6EN8cbY8SEPdNgfcKWkcK6tU9p80P0+d4WZCzZkwvSmQbDM+UrNzp1oed1bDNF0 A7vIdgmZ/JnXqSVacvXzGZD4tU3kkJ59v0M2/uI7um0HgxfV71AU984aMMOJdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bdcbjRB0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bdcbjRB0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 21649B6BA X-Spam-Score: -5.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: jgOe2/F8M/sj Hi, On Mon, 27 Jun 2022 at 15:49, Emmanuel Medernach wrote: > [Machine A]$ guix package --list-installed=C2=A0 | sort | awk '//{ print = $1=20 > "@" $2; }' > cmake@3.19.2 > gcc-toolchain@4.9.4 > glibc@2.33 > gsl@2.6 > icu4c@68.2 > make@4.3 > pcre@8.44 > zlib@1.2.11 Instead, it seems easier to run: guix package --export-manifest =20=20=20=20 > But on machine B: > > [Machine B]$ cat ~/.config/guix/channels.scm > (list (channel > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name 'guix) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url "https://git.savannah.gn= u.org/git/guix.git") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "a0178d34f582b50e= 9bdbb0403943129ae5b560ff") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (introduction > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (make-channel-int= roduction > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "9edb= 3f66fd807b096b48283debdcddccfea34bad" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (open= pgp-fingerprint > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 "BBB0 2DDF 2CEA F6A8 0D1D=C2=A0 E643 A2A0 6DF2 A33A 54FA"))))) Did you run =E2=80=9Cguix pull=E2=80=9D or =E2=80=9Cguix pull -C ~/.config/= guix/channels.scm=E2=80=9D? > [Machine B]$ guix install cmake@3.19.2 gcc-toolchain@4.9.4 glibc@2.33=20 > gsl@2.6 icu4c@68.2 make@4.3 pcre@8.44 zlib@1.2.11 > guix install: error: glibc: package not found for version 2.33 I guess =E2=80=9Cguix describe=E2=80=9D on =E2=80=99Machine B=E2=80=99 is n= ot the state specified by =E2=80=99Machine A=E2=80=99. From my understanding, the easiest workflow i= s: machine-A$ guix describe -f channels > state-A.scm machine-A$ guix package --export-manifest > pkgs-A.scm exchange these 2 files (even, it is better that these 2 files are versioned with the project itsefl ;-)) machine-B$ guix time-machine -C state-A.scm \ package -m pkg-A.scm \ -p profile-A This way, the global state of =E2=80=99Machine B=E2=80=99 is unchanged; in = case you are working on several projects at various states in the same time. Hope that helps, simon