From patchwork Thu May 14 14:13:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 22074 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1D61627BBE3; Thu, 14 May 2020 15:22:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DEAR_NOBODY, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E331027BBE1 for ; Thu, 14 May 2020 15:22:49 +0100 (BST) Received: from localhost ([::1]:43264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZEl7-0004IO-7q for patchwork@mira.cbaines.net; Thu, 14 May 2020 10:22:49 -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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(-)