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 QEt/NkMwtmM6NwEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 03:04:52 +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 4EyxNUMwtmPmyAAAG6o9tA (envelope-from ) for ; Thu, 05 Jan 2023 03:04:51 +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 953902208 for ; Thu, 5 Jan 2023 03:04:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDFcI-0001hc-AN; Wed, 04 Jan 2023 21:04: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 1pDFcD-0001hB-8d for guix-devel@gnu.org; Wed, 04 Jan 2023 21:04:21 -0500 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDFc6-00078p-3d for guix-devel@gnu.org; Wed, 04 Jan 2023 21:04:16 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 3118938A00F4; Thu, 5 Jan 2023 02:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1672884250; bh=VyZg7sZ4r1BC+2aneYxUFVxSULeKVIEdWAwXV84610Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZZXJ/71tOzFhjGqf6KzXOxoQjJjFts+7UdPGnPo6WxbCeqRd/H3tfjYlirOdtjL21 qIQhmT3TpFrybdJyad9PlTfGEgoruWanbf/TKYl13PuNE50qJIlKqN9NDMxYPT5ETz /B03v0C29RvGoGGD3VfCadbNzUTV0MELQ3S6EiE76CsTFnqZ1VAH9HfvI3Klh6AGug FhSvZZH/Svrv6sDS8xOuhvrb6rlMWYYeIGPTzjVww0/z+aJzSeynLkWMVZJVzqriSq oT6Qq5ArGBNeTZpiKnJVKZ0xkyQf7Q26xcJo+hQjma0koKQ/a6NNXE4aNpkZa/Td+e FQk5cGi7bHB2rG7NnWUMlcAM3rV6y2ZEkXiGr/ySs/Lhq6QAILNDDn+4XGMF0wWeWf lFBcgTMoQjtd67EtDoGr1FA8H0B74IODMoQROHTlUwIjKxajLijGhqcSWgWnOWGlgq izFPWqGb/DB07ucrdOZ2FAufQGtA489xH9e4JNaVZQaNtTSER0nvL8YnC315LX0gOi kYygZhc7G/+lmAKuA2FZ7CKGeOnpo5KZY297ueYKqWOW1hXVeAm1g17fQIgblPoqtM Qipf2By0Sz1ZOTaNejJuqn8mKSlbgbY5suhsaWFldu097KAJk37v+jnbytixwb15Yd oFgEdTIFaFSTYK01NX4OUUJQ= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MddrJOXlGbak; Thu, 5 Jan 2023 02:04:07 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Thu, 5 Jan 2023 02:04:06 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 91a16e78; Thu, 5 Jan 2023 02:04:04 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= 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==?= References: <9bb2b8fd4acff38e2669727cbb5d2990@dismail.de> Date: Thu, 05 Jan 2023 10:04:04 +0800 In-Reply-To: <9bb2b8fd4acff38e2669727cbb5d2990@dismail.de> (jgart@dismail.de's message of "Wed, 04 Jan 2023 02:33:07 +0000") Message-ID: <878rih4u0b.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net 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, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1672884291; a=rsa-sha256; cv=none; b=mLC9++nUaU56CEyLNUk6TfIBGLmsJtFYRATv/aRAoURdJlEFjWeBbr/wMcbsRDjUG55/zx CIzqRO21MBK163x8VFtL6YMaLLubBdl2blEBIbQ2dGF39tE9EIlgzcxu/03Asx8hPuTngZ eWCBy8q3RuBz3dP1P6O401YUqj26PXkyAe2mLy9mTKEwPq5GRSbPnydyZOEzi9hzQX2MCQ 0XexldJcuzb2RA5XrzgCJ817UVyO/HMhMOqMwUtKaUudJWIBdrhnFG/98eb6ZVKeIx5Gck 3r0t8k3cqHSSCmV85Ja5rq4rxmUGuMwiK9jTlQjknz+88Nqrka9RBHVi0aIH/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=envs.net header.s=modoboa header.b="ZZXJ/71t"; 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=envs.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672884291; 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=VyZg7sZ4r1BC+2aneYxUFVxSULeKVIEdWAwXV84610Y=; b=lHy7+rOSIoTQ/W/D4dXwKgHJHDBbXubDg3vGHUwbd7IF6ETX+orz93y0+RrGHk4VuPmkuE PlGKAY2KOgK10xelAEOfjlzr99qpUmb9ndVbmSt9IXm70+2fBhcQn+eIR+0ffO2t0Ma2Rc gF/UCp5BWYSiKqjuGgSHvTWf27YjatHvZYqFWjId1yn75N5r0Lp1fgrWwgPA21k6haXLbm DmHKfSzmkZMNq1daHmAV9N65wmZUm7CDWG16SmgGMOaWuhC6ptN11+cFmg+jbqbYu69eG8 Vd6DdD7dGdOgiWMPfT+6XZnZeVd6VD+4X8UDmPDNZj0ynX606OnZJGTdkDHapg== X-Spam-Score: -8.07 X-Migadu-Queue-Id: 953902208 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=envs.net header.s=modoboa header.b="ZZXJ/71t"; 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=envs.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -8.07 X-TUID: 9vqCo8uDn+9O "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/ Maybe guix package -m manifest.scm: --8<---------------cut here---------------start------------->8--- (use-modules (srfi srfi-1) (ice-9 match) (gnu packages) (guix packages)) ;;; copied from guix/scripts/weather.scm. (define (all-packages) "Return the list of public packages we are going to query." (delete-duplicates (fold-packages (lambda (package result) (match (package-replacement package) ((? package? replacement) (cons* replacement package result)) (#f (cons package result)))) '() ;; Dismiss deprecated packages but keep hidden packages. #:select? (negate package-superseded)) eq?)) (packages->manifest (all-packages)) --8<---------------cut here---------------end--------------->8--- No idea how long it will be :)