From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2L3iHS3ufGPmLgAAbAwnHQ (envelope-from ) for ; Tue, 22 Nov 2022 16:43:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MBkIHS3ufGMebgAAG6o9tA (envelope-from ) for ; Tue, 22 Nov 2022 16:43:41 +0100 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 7D7E32BD27 for ; Tue, 22 Nov 2022 16:41:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxVOC-0007Oa-27; Tue, 22 Nov 2022 10:40:48 -0500 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 1oxVOB-0007OD-8g for help-guix@gnu.org; Tue, 22 Nov 2022 10:40:47 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxVO9-0004pS-CM for help-guix@gnu.org; Tue, 22 Nov 2022 10:40:46 -0500 Received: by mail-wm1-x330.google.com with SMTP id ay14-20020a05600c1e0e00b003cf6ab34b61so15527447wmb.2 for ; Tue, 22 Nov 2022 07:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=j3Eupbaxy2KsjxGe2oNMk2lMkVhjjqsJGdBgcqTIEes=; b=hk0AYlmFeo6slYa+Cg5ovpHARrTPT0sxHu39zf9aew+JIpV0Ink0n1TXJRmvgHM7Me W2avjPeR1h9C8dFvfeoHsbnR5cgKxwL8GUIpyCj273/FonSQkU1Vh7AYo+UfSY2WdkIZ YuonX+Fec4qBMt/aB8E5h9qzd4zGsaZ267YE5SbCIsYLJkUHvIDc/vo2QtQh6BVL+R+p mWaWKyMDqYuVLnfi26jv0DVdADsxm39iKHTbWRoLy6DGKg7ajtcJfn7ED+W7wuiJORc3 X/+ipoYxYD24FBOA09wxuT9TfIh9jfAXs34mNSwvRlmL6vS90QK+ZGK5bF5/KtSGZlht d+Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=j3Eupbaxy2KsjxGe2oNMk2lMkVhjjqsJGdBgcqTIEes=; b=s0k+sE8cF7ge0u5cR2MYOEFxIkM6ij9bOGnh9EvKLKXtEpQXQpePp+FVfure2NIY78 wbnXN2H/ONxtSWvnLJrWILu2EzZjYwanTBYSYyVuRmn/T0Sa1PMfUFbWmzwPoeJXg241 HaCTs/d398w+9AITs6fVC25Ky0rkc5cwQW6fJVJuXXOvCrS2AsDyqR+7KqGSIAvI7j4w GuTF6RYFCewuRtLisWD8pPQqLOKu4pqLUecJk+9NnoMrDm1XCwifIGl+1JQChrValFtS ASTNPMhGXZEgbFuD8lOXS6188tALqdA+tw0FQSvBFkDp9H6FbD64LR7o+xOfUq6ZhAOL /3vQ== X-Gm-Message-State: ANoB5pk7i53x0obJu9qXKKCp3+Gh5p43ECNGi2DdcLmaFqAkUclE0dli K8B9TxWTKebFs+/wBw/+aj0nvbT6AKI= X-Google-Smtp-Source: AA0mqf798Tq63bSK3H2ks0Q1+36N2iJPglj+ba7wKiVSGuVCQbkWqZK9uqQXBlPUa8Wf8nANOXLVvQ== X-Received: by 2002:a05:600c:3d1b:b0:3cf:670e:63cc with SMTP id bh27-20020a05600c3d1b00b003cf670e63ccmr20994430wmb.150.1669131643521; Tue, 22 Nov 2022 07:40:43 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id bo22-20020a056000069600b0023659925b2asm14762095wrb.51.2022.11.22.07.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 07:40:43 -0800 (PST) From: zimoun To: jgart , Guix Help Subject: Re: build all dependents? In-Reply-To: <20221121190635.GB23435@dismail.de> References: <20221121190635.GB23435@dismail.de> Date: Tue, 22 Nov 2022 16:20:14 +0100 Message-ID: <86v8n7c8y9.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::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.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 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669131671; 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=j3Eupbaxy2KsjxGe2oNMk2lMkVhjjqsJGdBgcqTIEes=; b=AuwV4DOrLZwG536B4hKDCuo1TTToa3vGd6NeAvB6AdeXq5P4Dt3DMBXSCs6JpqHxt9Gzi0 m1BJIVnXv1d1sE1US5TIJfcos9aRe1a9MN78Bk1pvj5MfYgO+kEifk/eyW+0iHyd/9PwVk uodbiuq787JV0O8S5M+gMrVpkmBARwCaFmRg/F7c87uO2zt+t02U4/Yi9C1GEnMjL4T/Mf acv/ADwyxjBMx9QsRFsOmLqcicq6x0Fi+9hwBaOXkT+ZbMGvV13kx/TX1KqMVc6xXHYMIV IczORnPgLoPYmQHBJ7w8NcSDUTnZc9EZU9bCX7LTDD4jKaxBAJj20PQ5SYz+RA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669131671; a=rsa-sha256; cv=none; b=CORnCSZxZ1ckYS0N2xUjgkFc2/Qr/4oDJaC3TsXiWjnElIuCS8elHPQqN7UDaHG+NOUZcS AdsnBQWyOzmup1hZ0acZmaUoikxiZGdmmgxSs4k8bA71asA6KO3BTdCuMjL6q9KKmrpffB Ykz1XL2cXxEFCd4dKy65Td6sbIKv9Ay3mabylX7AXov9PBjebkec3coMmKTHu/uPzpkHQ/ +VIF7MRVtXJBjOfPJ7eAVAkFywPRZYUtoMK/tvGMjEL+rM3l8ho/EM61NHlSh745T6qVkq h6iUiCoRFiTtNksRbiCt4eMixubRA47wopZ4To+1X24rXGuRmDvzYXNOlGXYaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hk0AYlmF; 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.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hk0AYlmF; 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: 7D7E32BD27 X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: GcLNvnvU38yb Hi, On Mon, 21 Nov 2022 at 19:06, jgart wrote: > is there a command to build all dependents of a package? [...] > $ guix refresh python-identify -l > Building the following 14 packages would ensure 28 dependent packages > are rebuilt: python-multivelo@0.1.2 repo2docker@2021.08.0 > python-matplotlib-documentation@3.5.2 > python-numpy-documentation@1.21.6 jami-docs@0.0.0-0.b00574b mdpo@0.3.6 > python-flask-combo-jsonapi@1.1.0 onionshare@2.5 python-jupytext@1.14.1 > python-minikanren@1.0.1 python-miio@0.5.11 python-interrogate@1.5.0 > pre-commit@2.20.0 babi@1.5.3=20 $ guix build $(guix refresh python-identify -l | cut -f2 -d':') > I'd also like to filter out packages from guixrus. babi@1.5.3 is in guixr= us. >From the command-line, it can be tedious to filter. I would go with a manifest. Although, I am always confused by unexported bindings. This, (define list-dependents (@@ (guix scripts refresh) list-dependents)) returns, --8<---------------cut here---------------start------------->8--- /tmp/manifest.scm:6:3: error: list-dependents: unbound variable hint: Did you forget a `use-modules' form? --8<---------------cut here---------------end--------------->8--- but that=E2=80=99s the way I would do: list dependent packages, then apply = some filter based on module name (location). Cheers, simon