From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eGmIE9BupWX6XAEAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Jan 2024 18:43:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eGmIE9BupWX6XAEAqHPOHw (envelope-from ) for ; Mon, 15 Jan 2024 18:43:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=D4pOpIh9; dmarc=pass (policy=reject) header.from=disroot.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705340398; 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=BCBMpwqsvvL+Hlwe97UtrCvUtY7Nq+f83R+7D/4J7PU=; b=N/6jz9GZ8c9zDXLrN39yIsYkbJhSFW9sC8Cb+mcZELo+BkzpBFOrhNa/a5NukYX31Ngbkx mvbrYm8lbcwWuYcMzNwftKQxH5qFbvHE9sDZH6ntQ/QEetS9uca1VVWQZO8QjIgGCgA5Tu +a2tmVuj2vfQ1YXHDzG4eUYdTpIft93APM8kb0ajGrTyXsR934f2mQGGIyr4opw1+CQnKx TM4Vi6rgdED2k6N1dJkqq5TvCQaoanNXvb4qmLgXGAk8nRVLjCTnjttqZ1JFbQRmDFhATG 2VD9hXvPMQ9KI2kQ0OuPN8GfYsrX1Byr2XfWRzFqq4OXMrw55I/y/MNpfFPFzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705340398; a=rsa-sha256; cv=none; b=mvyDEPPFKpPH83yMHbZWwlAh6z38vhq++5tnsic+CAn/GQwkX39PqQ5+W9VLdGVWm6HOum BJexBcBO415vwER+0DLpx1AQo7o3qbTHAqHf7YaJ/QP2w5fwD1GUD2leivU5pmiFvYutft se5wwm26A7LX1ZKucUOlW0aSRxxwxExzDvm7TDyHzGJP7ir5vp2NfeV5g+KwXytzmYKZzI 2m6KI/DTtZCaqFORuJYybmDQTAJ2D/QX6swTGMAvjhZVhyLT6DcUEWG3pgTW82P8EePGq2 jM4OT/9Y5tB7RBpV82Qw5EfmC0j1N5NJ/kopykuPq8s9EAcJIK/UhxkAF7e1gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=D4pOpIh9; dmarc=pass (policy=reject) header.from=disroot.org; 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" 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 C59B372D81 for ; Mon, 15 Jan 2024 18:39:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPQvd-0004Uj-Tb; Mon, 15 Jan 2024 12:39:17 -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 1rPQvb-0004UW-RH for guix-devel@gnu.org; Mon, 15 Jan 2024 12:39:15 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPQvZ-0008VT-RF for guix-devel@gnu.org; Mon, 15 Jan 2024 12:39:15 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A3E4B40DFC; Mon, 15 Jan 2024 18:39:10 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OsQbG0aSupYV; Mon, 15 Jan 2024 18:39:10 +0100 (CET) Message-ID: <1ff0705e-57a9-4571-a11c-db45a70adc5d@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1705340349; bh=VDdLVGdwM7Q/H1zT/se0AcuVwJtYpC/4OjvYmzX52pY=; h=Date:Subject:To:References:From:In-Reply-To; b=D4pOpIh9YBsrOpjVpwWJcwwNBhb4LsHKpXrn3o9848DXdRemn8A70YznwKxrKX6yw 325c+vfHo1306q/RF3zKBBJcWUXIaBzkMzh9uPv/n3Iel+OYs7vz9pUpY6RNOS8BFU 0t+ZskpdMgDOEUtewY2r9Udb5Rimzscn1WlCiRFcTdKHmgZwnQVMBjsbikvSOxgQHV 6Su5Syt3AnlCmNSBkbCPnDwbpbWORu/fXHIDS/Bpkdq596rwe1rlM6oJ+jGKcC3eu/ sxsO7bG5W5W27rEX7UrpwQacWSb5kenEySt9xk9ImiigNGtK36JD1NVtQUIg0eytJU yUEWjLmOHMuuw== Date: Mon, 15 Jan 2024 12:39:08 -0500 MIME-Version: 1.0 Subject: Re: %base-packages and default grub theme depend on rust To: Vagrant Cascadian , guix-devel@gnu.org References: <87le8rcm92.fsf@wireframe> Content-Language: en-US From: kiasoc5 In-Reply-To: <87le8rcm92.fsf@wireframe> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=layka.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.95 X-Spam-Score: -9.95 X-Migadu-Queue-Id: C59B372D81 X-TUID: ITWncSb0MRN8 Hi Vagrant, On 1/14/24 22:24, Vagrant Cascadian wrote: > So, I stumbled a bit with a fairly recently installed aarch64/arm64 > system. The install went fine late December, but then I tried "guix > system reconfigure" a couple days ago, and even though it is a very > simple configuration (based on bare-bones.tmpl with grub-efi)... it > pretty much needed to rebuild about 12 rust versions, as no substitutes > were available on aarch64-linux. *sigh* > > I thought I tracked this down to guix-icons depending on librsvg, which > depends on rust... and guix-icons is in %base-packages. > > So I dropped use of %base-packages-artwork, which pulls in guix-icons > and used all the various other %base-packages-* stuff explicitly... but > it still wanted to pull in guix-icons/librsvg/rust-* etc ... it just did > so later in the build process... foiled again! > > This is because the default grub theme generates a .png from an .svg > ... using guile-rsvg, which uses librsvg, which uses rust ... > > But this machine just has a serial console, and has no need of a > background image in the grub configuration... > > So eventually I figured out how to get a grub theme without a background > image and drop guix-icons from the configuration by avoiding use of > %base-packages-artwork: > > (bootloader (bootloader-configuration > + (theme (grub-theme (image #f))) > (bootloader grub-efi-bootloader) > (targets '("/boot/efi")))) > > - (packages (cons screen %base-packages)) > + (packages (append (list screen nss-certs) > + %base-packages-interactive > + %base-packages-linux > + %base-packages-networking > + %base-packages-utils)) > > Maybe these is a more elegant way of doing this. > > > So, the example bare-bones system configuration does seems to have heavy > layers of rust obscuring the bones. > > Do we want a really-quite-bare-bones configuration example? > Should guix-icons not actually be in %base-packages? > Can the grub theme be implemented differently without requiring rust? At least a PNG copy of the SVG could be created ahead of time without having to use librsvg to convert it. > This seems like possibly a discussion so far, but I would also be happy > to turn this into a bug report if desired! > > > Thanks everyone! > > > live well, > vagrant