From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CHyTEL8bt2NEYwAAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 19:49:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4BW5D78bt2OhWwEAG6o9tA (envelope-from ) for ; Thu, 05 Jan 2023 19:49:35 +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 0A8FB3B886 for ; Thu, 5 Jan 2023 19:49:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDVIg-0005kM-BB; Thu, 05 Jan 2023 13:49:15 -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 1pDVIY-0005hM-RS for guix-devel@gnu.org; Thu, 05 Jan 2023 13:49:07 -0500 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 1pDVIW-0007Vw-5N for guix-devel@gnu.org; Thu, 05 Jan 2023 13:49:06 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F2ABB40DD2; Thu, 5 Jan 2023 19:48:59 +0100 (CET) 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 YCaifE5kp9y2; Thu, 5 Jan 2023 19:48:58 +0100 (CET) Message-ID: <336ec686-6f54-9d7b-e16f-3c14fd4063f6@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1672944538; bh=f3MOXKm+ZubqFNTSdDvhu/WfcqhS4jc/p9qSTrZ/6Io=; h=Date:From:Subject:To:Cc:References:In-Reply-To; b=fSiskywxGye1ZuewdKtmfjYyxJHkowuPAVVaf/GTqmMgj4HJ0Ul6OEvSrrNA9DaCL Rvs8uZd9gK2DzHxkkbvofMGDHDDrTRPo50/wFrRCSizutq4v0gmpa+PxSmnEDMmqfA rjhVW5BGLmbSkRmt/3xe/6GjXDvOmL+RiVrUAFne8hGV48ExEwwoHh51HW86i7O5YX oZes2LiawFBo5wB62PhBh2cDVZ7qGGR3To9bXkHjBCOnYEITaL2v/D1dS58UnKlopM GKssXvN8ClcX8hR6XBxoTQNskNGmyOcrIxtrRbuetf6VA3gP7e/u5Db/GVyXDhenKQ 6UkKlbPca98BQ== Date: Thu, 5 Jan 2023 13:48:55 -0500 MIME-Version: 1.0 From: kiasoc5 Subject: =?UTF-8?B?UmU6IPCfjI7vuI8gSW5zdGFsbCBldmVyeSBHdWl4IHBhY2thZ2Ug?= =?UTF-8?B?8J+Mju+4jw==?= To: Eric Brown Cc: jgart , guix-devel@gnu.org References: <9bb2b8fd4acff38e2669727cbb5d2990@dismail.de> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@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-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=1672944575; a=rsa-sha256; cv=none; b=Y+8RiQOnvo0vpaqkOOVnC7iuETUHCv9KMlSRaJL2+u8iiulac3UE37yPvwrlrmU67szpKQ y6RU7sI8Aqwl8YmvBn/T5w8HyGAQ5y1+KNLGenD7nsRvadb5CdFzyLBzzXmAjSvQ70p6KI TyEMrAKexYLVQ3KmTc76pGAkTP50lMfMCeMPS1BlnzOQrwK8Ve0k3g8FR9v0SHYz7KOeB8 yzs5Rdyg3xDtV6CwFmql75QI9qO63N0lLW7tBXRq5Pvszr9MsjLMkwnjugxHk335Bh0v5I RuKcOXgjZ7dizKD/iHcTTxP+VVMFFzo/4eOz0vqbmUHle9EqKGWL1HZoVNatXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=fSiskywx; 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=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672944575; 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=fcT2e+y6LaKWtr22jhdFwLhxl7JJtk9vteDMTNrKthU=; b=O1UbgkGpq4091ZahkttIZmAEs0FCJsLbEnHbEi6+oRQ79bKSPqjYlp5hM8UsfqsNd6hlda P1j3qIMZbmAwLYlFDTLGVNlxLcqlvHLd61l4/sYG9vUaS5AXi8hMkwh7ivXNSSrycQWjOq 4JA337D9PD+ze9iiWN7TPlQBSWCrBLeZ5cxv9e3nddagzY+SYh4/fxjJ2Gz8RMs910b//d B/djzaKjG28JiWCwtuFoOxsIF5aHRDFmN9JrS2mvvCShyaNxTHsA/jL7ptBcrCTvzpmkWB 8bmZtha/nSGOXiypaoHKcD9RDaIHWM05vn2E8qW3SVqiJZdMDHzoPfTUKSG9iA== X-Spam-Score: -10.01 X-Migadu-Queue-Id: 0A8FB3B886 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=fSiskywx; 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=reject) header.from=disroot.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.01 X-TUID: NxLLALrQYxjV On 1/4/23 21:50, Eric Brown wrote: > "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 🌎️). >> >> 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 build --keep-going > > (Aside: emacs-guile-on-guix-system is the pinnacle of GNU, IMO but it failed 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. > I just realized that this downloads all packages into the store, which not the same as installing all the packages into one or many profiles. I wonder what the minimum set of profiles to install all packages while avoiding collisions might be?