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 4EzpAjpUvV4ANwAA0tVLHw (envelope-from ) for ; Thu, 14 May 2020 14:22:50 +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 KPfUODlUvV4eLwAAB5/wlQ (envelope-from ) for ; Thu, 14 May 2020 14:22:49 +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 272B394053E for ; Thu, 14 May 2020 14:22:49 +0000 (UTC) Received: from localhost ([::1]:43264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZEl4-0004IO-JE for larch@yhetil.org; Thu, 14 May 2020 10:22:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEda-0000U6-W2 for guix-patches@gnu.org; Thu, 14 May 2020 10:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZEda-0003uK-L6 for guix-patches@gnu.org; Thu, 14 May 2020 10:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZEda-0004xr-GI for guix-patches@gnu.org; Thu, 14 May 2020 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41260] [PATCH 0/1] Support multiple profiles with '--list-installed'. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41260@debbugs.gnu.org Cc: zimoun X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158946564318970 (code B ref -1); Thu, 14 May 2020 14:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2020 14:14:03 +0000 Received: from localhost ([127.0.0.1]:34287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEcd-0004vu-2G for submit@debbugs.gnu.org; Thu, 14 May 2020 10:14:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:38776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEcc-0004vo-Ha for submit@debbugs.gnu.org; Thu, 14 May 2020 10:14:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEcc-00071g-9u for guix-patches@gnu.org; Thu, 14 May 2020 10:14:02 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:34182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZEca-0003j9-UL for guix-patches@gnu.org; Thu, 14 May 2020 10:14:02 -0400 Received: by mail-wm1-x32f.google.com with SMTP id g14so14439475wme.1 for ; Thu, 14 May 2020 07:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+ERgzSDMezWvEsEIYK1NgY81C0YZ2buHAgLOPvzLxlQ=; b=JXbFcpQLrs57UEgH+erTdKjgNyGTKrtDb8PKVEhyZD6KaAtb+RiERI2C6CD6kT6Zi5 twPHkLkcq67Qy7fMYpWh64Q4d2jJ/UZLeczxvOLcKL7bqCFv+JXecvQ4SpG9y3FCd1f1 MbpmNmL0yIPuu1dwqNye/iSbLQtFB50cio0kp+epiGMfumoQ5CaQ5rNdIDmnGRX0T786 PHcu+Eo7hfUkE+5M+hKVFs9RaFiz8ZvUd7Nd0ZRnIU0uyrqb43Za5TVdNvsWsUdOI86V u+hj1U0OJqRjVvUjiOhFpqhxUwXJfNI/ftVM+jbtzL7KbFrN62/tFa+z1x18TqSMQ0tZ +DZQ== 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:date:message-id:mime-version :content-transfer-encoding; bh=+ERgzSDMezWvEsEIYK1NgY81C0YZ2buHAgLOPvzLxlQ=; b=r5/5eVe0vXZ96I1NEE5pqNAfpp8Fle2mqOJJMlpMa1+KMO36/w/hwCKx/3zO1txzoc Z0Ch/Ab+TIrMU37YhQFsGo4OpMgkkKKx7faYgBCriILavdwtvi4FYox7SgEf2omC7MoM eAX/MyPfLpvP/fineSRP84Xt3cBFCWqbQpvJNvEV7y8QQMl4C5BaNtq9jGEp7InyBvX7 xK9iGjcCat5zDEWQwp/3G+nvGSexRc6RIvI50UZmuM7tu2KPG/7awdjQBttiK07e3RYs AkAmobjUDCxK0SLr3+Z4B4HRbQGlYm4tfGdglcDTVNYVy+stLgmXakCJizs5zxPjEvcd qEmw== X-Gm-Message-State: AGi0PuZOSDKfUYExsr8kUwXObp8XdO5It4ePmN5MOELZSUWF8J3s1CgX VeIx9SfZQXtxfQLJITMLErObkxJr X-Google-Smtp-Source: APiQypK9Q+XM/Py3+vWBj2LJwrDcqhWTfQNTmFV6QeWnvxQs1U1AI6XPBiV29HIKbtQS/lmE/SFndw== X-Received: by 2002:a1c:9cca:: with SMTP id f193mr47736784wme.71.1589465639205; Thu, 14 May 2020 07:13:59 -0700 (PDT) Received: from localhost.localdomain (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id b65sm5648691wmc.30.2020.05.14.07.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 07:13:58 -0700 (PDT) From: zimoun Date: Thu, 14 May 2020 16:13:50 +0200 Message-Id: <20200514141350.4867-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.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: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DEAR_NOBODY=2.442, 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=JXbFcpQL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.59 X-Spamd-Result: default: False [5.59 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53835153940569]; MX_INVALID(1.00)[cached]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_MISSING_CHARSET(2.50)[]; BROKEN_CONTENT_TYPE(1.50)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.05), country: US(-0.00), ip: 209.51.188.17(-0.54)]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; SPF_REPUTATION_HAM(0.00)[-0.56503713845233]; URIBL_BLOCKED(0.00)[gnu.org:url]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_COUNT_SEVEN(0.00)[11]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-Scanner: scn0 X-TUID: lEU9xd+wefob Dear, As reported [1], guix package -p profile1 -p profile2 -I and guix package -p profile2 -p profile2 -I return different list; the one of the first profile actually. This patch fixes this unexpected behaviour. Last, I have failed to add a test in 'tests/guix-package.sh'. I am not sure to understand how the store is handled when running the test suite. All the best, simon [1] http://issues.guix.gnu.org/40549#21 zimoun (1): guix package: Support multiple profiles with '--list-installed'. guix/scripts/package.scm | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) -- 2.26.1