From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 KAEJN2HPuWKclwAAbAwnHQ (envelope-from ) for ; Mon, 27 Jun 2022 17:40:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4KuwNmHPuWKqPQAAauVa8A (envelope-from ) for ; Mon, 27 Jun 2022 17:40:17 +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 5917912304 for ; Mon, 27 Jun 2022 17:40:17 +0200 (CEST) Received: from localhost ([::1]:50390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5qqW-0007TR-Cw for larch@yhetil.org; Mon, 27 Jun 2022 11:40:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5qqD-0007S1-1m for help-guix@gnu.org; Mon, 27 Jun 2022 11:39:57 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:43985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5qqA-0004OA-NH for help-guix@gnu.org; Mon, 27 Jun 2022 11:39:56 -0400 Received: by mail-wr1-x431.google.com with SMTP id d17so8001792wrc.10 for ; Mon, 27 Jun 2022 08:39:54 -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=+v5ctLOlAgngvR7iWJ/L+cvCpnSRnaBqeRkQRfEIPj8=; b=iSwojqzpu7FwVEMB736+ezOA34cGY/RAJY92SfotCe4nsVGv3IhRNbTHP78BiOh9Zb MFmzIg/DdNsD+GUnMGvlLM74k3JFWpdjIN24aGMlCOxUUeY/FbAmnFl60qMan/RMHZRC UAAtnePdrttw3a/0Ed1Lps354hzuLXfZPwcKZ9iBl0rcPPtMFpiMyvJIY+v7qgakCGwH QqC+OZAicMRU65pphZJcYb25KV2NSmmA9jjK9PM8PHXCWg1t8XjUVUEtJkbpYOnknBFM /tpZCwTxn4WuSW9Rl+1CiHu+ilW2wCCvsVhMfeUPMbNk8bTP2CTEcr+ZStaUUS+o7z1R aUuw== 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=+v5ctLOlAgngvR7iWJ/L+cvCpnSRnaBqeRkQRfEIPj8=; b=ug3JBL3PVSx9Q/CXqdIEf69Hn6isPu6J7oUNg4ztHcvZbx18sxpIe0SmXDmG5I0+b6 40GvpolaFqY3QXQ39FNMhaRorEkhDDv53/n320gkLZsijlaZJ8D5DsgjgNTCGGvsUISJ GHO/suHtMpPrUc0fQ3YsEZfpISqjua6QkHfCQh6OKW9MyF61OPKsfFl+HG7d+ncXTBEi 9ofy4tuYC61Q0eAvoPxR9/wpo650ljjFxqSIUJvmJn8Lz+eO2AvemTJRCi3FvoyT9WVY bM5sgyG7sjuPM34KPZAMeBk4YOcvQ6d/OOpwdG1jFLpRc7ODqZwoeAJD9Bl8ENc8atOZ MGAQ== X-Gm-Message-State: AJIora+pQGo8bcSmRDRQpQ6MM3RGkswI1KeXdKWtS9e6L+Ecp1NusxoW fAU10gbU3rw4Dr/Qexkeuo3JCffaYX4= X-Google-Smtp-Source: AGRyM1v5zkJbxVINSkJEaf4DmnWBXhh+KNJks9tsF5vQi/7CWwYQbScuBKFeEe6g+leFesftQGwFHQ== X-Received: by 2002:a5d:528c:0:b0:21a:3218:edc6 with SMTP id c12-20020a5d528c000000b0021a3218edc6mr12251704wrv.369.1656344393475; Mon, 27 Jun 2022 08:39:53 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id o4-20020a5d6484000000b0020d02262664sm10939893wri.25.2022.06.27.08.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 08:39:53 -0700 (PDT) From: zimoun To: Emmanuel Medernach , help-guix Subject: Re: Trying to replicate guix packages list on another machine In-Reply-To: <791b01c6-2b63-b9b3-3f52-c9e1796bc1a1@iphc.cnrs.fr> References: <87r13aw51c.fsf@gmail.com> <791b01c6-2b63-b9b3-3f52-c9e1796bc1a1@iphc.cnrs.fr> Date: Mon, 27 Jun 2022 17:39:42 +0200 Message-ID: <87czeuw1xd.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::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.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=1656344417; 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=+v5ctLOlAgngvR7iWJ/L+cvCpnSRnaBqeRkQRfEIPj8=; b=RiEGJp9D9KUINoT+86o7eIwzlQwp07aGwJcbQWYyR5honIBXmo2a0EAmxUYjDfuPeP2P9D +++nXfp05eVNuzn9wpmUmx3ssNhnXAnvf5BY3peuJLUeBcsUar1L5CMnpzB2fGr5gpCFmw HYlSu8l4azHYYVGzziBByi0HrEd/tbwv/gQ9Xl4gRSQ0a2Ej02Grl5L3jomngu4G7dkHbV RYzAnQIsqmTQ/oMZDW/ch755VM9N/Ag7cnRBLR/PxOr1RgZoIw4zVluPAyj7KcxTBybF02 TwdVVOBA0sngSg7WU/viAybnXY7xmfDEs4FlNnz3N8KYzlCtYHV8abFSV97oxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656344417; a=rsa-sha256; cv=none; b=s1+gOAi7bSeEGq8GIIdSGFY20KgSCmWJvdlzj79WQ+mTBhT4hvripstVaxZmvXvXVQvKfm b3SjhSaIfER3mKO2WlEZllEZ9KXqse58ae/HOkGhJPArJvMF+JmRY+g/UEsKLGwggM0C9Z in3KHrwiw8eaqYoy55xuCmTFOeJ4spDp1SbUolWRV/ZVnXEksASxL8+ZhXz5CU+HMN8D5E Hc4vAurwAMPjcglyp3jTcWSiS0JtvJqJiZuMkLq96zWJAyxGbA9cBQN3wrZYyP6DWeB+Xr /bJ5uohIjZczQNyUdYSPZ1W55g7ued0aZOjUnKiPDy2QFndbMlREt6DtNmiLig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iSwojqzp; 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: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iSwojqzp; 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: 5917912304 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5DbrVd3MY4Tr Hi, On Mon, 27 Jun 2022 at 16:51, Emmanuel Medernach wrote: > Thanks, here is the resulting manifest: > > (specifications->manifest > =C2=A0 (list "gsl" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "pcre" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "icu4c" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "zlib" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "cmake" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "make" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "gcc-toolchain@4.9" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "glibc")) > > [Machine B]$ guix time-machine -C ~/.config/guix/channels.scm -- package= =20 > -m manifest.scm -p profile-A Here you are installing in the profile =E2=80=99profile-A=E2=80=99=E2=80=A6 > [Machine B]$ guix package --list-installed=C2=A0 | sort | awk '//{ print = $1=20 > "@" $2; }' =E2=80=A6and here, you are listing the packages in the default profile ~/.guix-profile. Instead you should run, machine-B$ guix package -p profile-A -I Last, as Julien pointed out, it might be possible that on =E2=80=99Machine-= A=E2=80=99 the packages are from various states. You can give a look at: machine-A$ guix package --list-generations and so, it is possible that the packages you installed do not match the current state of Guix. For instance, you could compare: machine-A$ guix package --export-channels machine-A$ guix pull -f channels Well, if you did: guix pull guix install gsl guix pull guix install pcre guix pull guix zlib etc. the profile is not composed by only one state therefore it cannot be replicated. Only a rough approximation can be made. Or if you did: guix install gsl pcre icu4c etc. guix pull then =E2=80=9Cguix describe=E2=80=9D does not provide the Guix state of the= installed packages. Cheers, simon