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 YGqACuHNtmMrRQEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 14:17:21 +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 WHChCeHNtmPLlgAAG6o9tA (envelope-from ) for ; Thu, 05 Jan 2023 14:17:21 +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 EB4E012B7D for ; Thu, 5 Jan 2023 14:17:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDQ6c-0005D1-6Z; Thu, 05 Jan 2023 08:16:26 -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 1pDGKn-0000Wb-1w for guix-devel@gnu.org; Wed, 04 Jan 2023 21:50:25 -0500 Received: from ci74p00im-qukt09082701.me.com ([17.57.156.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDGKl-0007rF-Bc for guix-devel@gnu.org; Wed, 04 Jan 2023 21:50:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1672887022; bh=ZUvE7IRByMtneRqHNpQg9kwOt/BYXtYA3xhHQgCllXU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FK0iMpNG50Z2uvGaCoU1lZikBMmVoicrQIy/ob5VpXQ6v0aUphIAj4310Zbnjgy2B sMz68j71oRDsFzNJcyoUxLJieAKQ1oXNup0pwA2Ju7aoZhE7FZhtu8WeV6CtGuOXPI Cn929g82qJJZiABzoUoDyrRhsl39wG9I7DilPktmIqwsiiM2bAm5QN+FwKaKqZpHtL +K3Fey7DI+AwtWWxK/KjOjs4eucBpcRq1D32mVtOyf8PTYU4JXUrmEPs0HAmL1bAmo rZrr0kN7KzUxzuQJC9zwE6Bx5WRlR7Y9mDHpQLN47uzvckTFxUNdzXE2blOskQNFMP NuZoYCq6qXWgQ== Received: from localhost (ci77p00im-dlb-asmtp-mailmevip.me.com [17.57.156.26]) by ci74p00im-qukt09082701.me.com (Postfix) with ESMTPSA id 7BAD54A005F7; Thu, 5 Jan 2023 02:50:21 +0000 (UTC) From: Eric Brown To: "jgart" Cc: guix-devel@gnu.org Subject: Re: =?utf-8?B?8J+Mju+4jw==?= Install every Guix package =?utf-8?B?8J+Mju+4jw==?= In-Reply-To: <9bb2b8fd4acff38e2669727cbb5d2990@dismail.de> (jgart@dismail.de's message of "Wed, 04 Jan 2023 02:33:07 +0000") References: <9bb2b8fd4acff38e2669727cbb5d2990@dismail.de> Mail-reply-to: Eric Brown Mail-followup-to: Eric Brown Date: Wed, 04 Jan 2023 20:50:20 -0600 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: wO8iPI3SnXIqOFfOfZk8LkIGj7vFgOPG X-Proofpoint-GUID: wO8iPI3SnXIqOFfOfZk8LkIGj7vFgOPG X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.790,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2022-01-12=5F03:2020-02-14=5F02,2022-01-12=5F03,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 phishscore=0 mlxlogscore=773 mlxscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2301050022 Received-SPF: pass client-ip=17.57.156.16; envelope-from=eric.c.brown@mac.com; helo=ci74p00im-qukt09082701.me.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, ODD_FREEM_REPTO=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 05 Jan 2023 08:16:25 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672924641; a=rsa-sha256; cv=none; b=WiuOH92o7rxlmNxCF81odmISvW0RFSfuhjZK6bH8fEcTJJhyz1JzrtFR1J0oLN9ptwKvrr RpvgA/Fw9VC77ebXvDwWEV3lhbjtKHHvE1AJdD4WLaALwSqj12Hn1NIJKSlTKTT0d3wdrV 7T0npJ+wupgNwaFywynIQp6J8OOhsJfUYCv2ckelWGVLAetY+19aZf7FCF3mynDcTYbFY5 d1eWRpe2jPWf0x/f05LuXDguONINa7fEyT4Ly31q7/C3islFWv2O8kazrM9ELKuusOzoTl If7Kwx32eoKm3QgJE3k8NuvLdWBIDEgxAQCe2gunfICmQVUBihYA4DSA0Wwi1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mac.com header.s=1a1hai header.b=FK0iMpNG; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=mac.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672924641; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ZUvE7IRByMtneRqHNpQg9kwOt/BYXtYA3xhHQgCllXU=; b=YWiJQRIUjc9OmIfLFRqafkZvyGZLz/FmxvqF3TQ6UkJpr7Vn/Ym2pecXc1akoo1bFr9DK6 CBfYm3554FJ8FZu1OidbXP5OWDo/KmNzlxzDM8059KP8tVfXjKykOHvD2PpfaNz5ijiO0k KtK0ReKOLMSXx+6P9Tdrnv8tr5EPrKezfUh1eMkS1bcwNoH7Rnkluu1CftwZM5gPYFTnHA tfW2n9arfzxbBhv1317NWthKhJFtOr/VPMKbYor6mc7i5lhJ2jRXGj31gg/1gvpFhvhLHH PpCHTbhjXcx0CJIPdwdGJAclJ/BP1JFPR5ZwrpnufX6WttpkvP1riZfIZDOXyA== X-Spam-Score: -10.02 X-Migadu-Queue-Id: EB4E012B7D Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mac.com header.s=1a1hai header.b=FK0iMpNG; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=mac.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.02 X-TUID: o4Y130P5cY9V "jgart" writes: > Hi Guixers, > > How would you approach writing a script that installs every Guix package = exhaustively for your current revision? > > I'm thinking of something similar to `all-packages` on PyPi but for every= Guix package (the whole wide =F0=9F=8C=8E=EF=B8=8F). > > https://pypi.org/project/all-packages/ guix package -A | cut -f 1 | sort -u | xargs guix build --keep-going can accomplish this. The `--keep-going' flag is useful in case a package does not build. Occasionally, I will sandwich in a negated grep to exclude packages: guix package -A | cut -f 1 | sort -u | grep -v "emacs-guile" | xargs guix b= uild --keep-going (Aside: emacs-guile-on-guix-system is the pinnacle of GNU, IMO but it faile= d to build--appearing to be abandoned--and was removed.) One may also select just the packages they want, perhaps by using a scripting language such as python to make larger selections more convenient. This can be combined with a substitute server and an offload build machine to make an on-site cache. One can choose whether to employ the Guix substitute servers if that would be beneficial.