From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 27 17:27:35 2022 Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 21:27:35 +0000 Received: from localhost ([127.0.0.1]:59492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAPX-0003Rv-Ap for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:27:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:54610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAPV-0003Ro-Ol for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:27:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooAPU-0005gT-HN for guix-patches@gnu.org; Thu, 27 Oct 2022 17:27:33 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooAPH-0005HK-EN for guix-patches@gnu.org; Thu, 27 Oct 2022 17:27:32 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 34BDD4E841; Thu, 27 Oct 2022 23:27:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lVGLinmwcwSi; Thu, 27 Oct 2022 23:27:15 +0200 (CEST) From: "(" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1666906035; bh=NtQTLP2AnTFk20q2cBsqE03zjCAxqGAEBuMETKFtutw=; h=From:To:Cc:Subject:Date; b=f/yk4mBYTj8NiIaeIOMtLVbxcRI3vj8vepOLQgfySeeijP5HhdrG0+zuUs1LiQlRU tiLcBfH9OSSJD1Mq2g291lsBF9ahWiTaP3s8PNBGbsCVFBvIKhiDx5fnVxBKDVskcP xrvH9f6DkHlSkD2D48MhYQ+boOljnbzew/zLe5hCn3Gg2kJtSynmXH4fh3iUII8VZr ikNJlRKZ+YBfus5Ay36uJn6QSnn+19o7Wqp3jVhizYG/1bdahO3O7Kwk2KHKWieY+R wSJIsEhGQJ4qCYj7Tz0YLo2zabzudUod5hSSKXE+ntW3JLOX4U/VcUJpzakteZUbKy vGqzXy3z+pf7w== To: guix-patches@gnu.org Subject: [PATCH 0/1] scripts: refresh: Support --list-dependent=packages. Date: Thu, 27 Oct 2022 22:27:06 +0100 Message-Id: <20221027212706.21680-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: Vagrant Cascadian , "\(" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Heya Guix, This patch adds support for passing the string "packages" to ``guix refresh'''s ``--list-dependent'' argument, which displays only the packages, with no "XXX packages will be rebuilt:" header. This allows us to perform substitutions like this: guix build $(guix refresh --list-dependent=packages gtk) to, for example, build all the dependents of ``gtk''. ( (1): scripts: refresh: Support --list-dependent=packages. guix/scripts/refresh.scm | 61 ++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 24 deletions(-) base-commit: f928abac369f699f425ddee925d0d0c2dc0a635d -- 2.38.0