From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 uOuSGWTM22Oa/AAAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 15:44:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MLJFGWTM22Pn7AAAauVa8A (envelope-from ) for ; Thu, 02 Feb 2023 15:44:52 +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 989A9147FD for ; Thu, 2 Feb 2023 15:44:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNapN-0004Gd-Fo; Thu, 02 Feb 2023 09:44:41 -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 1pJoRu-0006R9-8H for help-guix@gnu.org; Sun, 22 Jan 2023 23:28:50 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pJoRs-0001D8-2s for help-guix@gnu.org; Sun, 22 Jan 2023 23:28:50 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4P0cYH3n50z9scW for ; Mon, 23 Jan 2023 05:28:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1674448115; h=from:from: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; bh=bzWDP7qwNCO6sZeM4CQ0IvKsUFtKtuDxMYcQkXfu878=; b=fPrRdXVT0Oj0h8lBDA8qOeQD7u8w7FC8NP2yFOZWDbVW29yQVl634EAyM+DDR/f+TpSAjV oCD0IKcf/7zQDONlQvEmNbDmtY/UiPvJlCY29yYq5Qz9lXTQBFC6jGrB4WJJFh5w8+d0VR DtqI9yvpCbSmFQ9HBDS2Wb03ItYcA0UsQwaGfrzaLio3ZwxgjFcrwAujYBH9Badwl6uRxW wdC9XY89LLqzZtH2PGg8741cEUJ51D/yYv72xSyDflJr8e5Zcs3UYEidYwvb9ar7ez3+Tf fSxyvN0/SPMwUzlOF+lQOQ6GLQBzAOb2h81rAVGRvQbymcRNUTs2DiC5+KPXpQ== Date: Sun, 22 Jan 2023 22:28:30 -0600 From: Genevieve Mendoza To: help-guix@gnu.org Subject: =?US-ASCII?Q?Missing_QT_platform_plugin_for_Wayland=2C_GRUB?= =?US-ASCII?Q?_menu-entry=2C_and_service/package_definitions?= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MBO-RS-ID: f073201b40295831071 X-MBO-RS-META: in9xbjcf85b7fcycu3ewd9qyy5pmp9g6 Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=genevieve.m@mailbox.org; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 02 Feb 2023 09:44:40 -0500 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675349092; a=rsa-sha256; cv=none; b=ft+HzDN5qz2KKHVTh/BYxMZpiZE5nUaK6mACDRI2b5k6diRXZybcpX/Ejv7yOSe+z+NUwk hTP2qskLIQmzQD8CPcBycf3XwtZGTyZws2YX0CPMQH7LCGl9aI91I2Cv9yY1mmnKugUfie 2MlXbDgfbrwChZ9d8hha9806hayYWiCWJR+1+KQgdmO3zURsyd6Un7Ek8futjnnu9QMDLn jtw2ZBxcvMwjUTdtxoT8X8UOTVCqKx5HZ4YPrzkTPpXh+p04j4avG//YbkmVxQuyC/+cmI Y52TJtn8ELlTUT7J0OperDIBPZhk/kS3AKEdKAadRUH1nAzJl8MmfE/ImWhxBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=fPrRdXVT; dmarc=pass (policy=reject) header.from=mailbox.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675349092; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bzWDP7qwNCO6sZeM4CQ0IvKsUFtKtuDxMYcQkXfu878=; b=niwcgo++H1Zc4LXedF+vowaUto/Dl7/29lZEBpz9t2xvqjH+Ffhd8ngkfAIkGNhbvwXiPf ANrZ56Ee6hocUraPX54jmOOCBvVjwbpayM0r7EJzntiTHNM+aRb/U0TsRxEhOLtPnHDRDr ZmC/N/B+NDumxuLFMOGbrDh9qWX6ucha5GvP3F5QLFC5KXBaviL3nu1SVKa4fYylPutsP4 xMrwiwZWCT2BQesBNyY+Ku542VYJ+d+VaCOLF/E6J4jCFgwCtzY9U8nk1EccROjoyXDr3E M8zdpILJrCwxjhEqi9a8ItuJRTkgzlWen4g+/uxX2a9BavJDK32GyiuSUazPvQ== X-Migadu-Spam-Score: -7.75 X-Spam-Score: -7.75 X-Migadu-Queue-Id: 989A9147FD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=fPrRdXVT; dmarc=pass (policy=reject) header.from=mailbox.org; 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-TUID: j6EJXZce9DG9 Hello, I've started using Guix recently, and have accumulated a lot of questions since I started (it's been a good experience though - and I really appreciate the great documentation!) I'm listing them below in ascending order of complexity: 1) I've noticed that there are service definitions which automatically pull in the packages they require, with the main example being desktop-services=2E I set up some of my own home services, e=2Eg=2E for Pipewire, and they work fine if I also have Pipewire installed (via my profile or home environment)=2E If I don't, then they can't find the binary and fail=2E Is there a way to have them specify required packages that I missed in the docs? 2) I also want to run Nextcloud, and I'd like to run it under Wayland=2E I made sure to install qtwayland-5 alongside it=2E However, I still get an error message about missing the "Qt platform plugin "wayland""=2E I found another bug report which stated that installing qtwayland-5 did solve the problem, and it also was all I needed back on Arch, so it feels likely I'm doing something wrong here=2E I'd appreciate any suggestions! https://mail=2Egnu=2Eorg/archive/html/bug-guix/2021-11/msg00216=2Ehtml 2) Alternate menu-entries specified in my OS configuration seem to fail to boot by default, but I thought I'd ask if I'm doing something wrong before filing an issue=2E I have the following: (menu-entry (label "Arch") ;; menu entry name, not partition label (linux "(hd0,gpt5)/boot/vmlinuz-linux") (linux-arguments '("root=3DPARTUUID=3D[partuuid]" "rw")) (initrd "(hd0,gpt5)/boot/initramfs-linux=2Eimg")) which creates this GRUB entry, which does not boot: menuentry "Arch" { search --file --set /root(hd0,gpt5)/boot/vmlinuz-linux linux /root(hd0,gpt5)/boot/vmlinuz-linux root=3DPARTUUID=3D=2E=2E=2E initrd /root(hd0,gpt5)/boot/initramfs-linux=2Eimg } Since I did not specify (device), I expected it to create the following, which successfully boots: menuentry "Arch" { linux (hd0,gpt5)/boot/vmlinuz-linux root=3DPARTUUID=3D[partuuid] rw initrd (hd0,gpt5)/boot/initramfs-linux=2Eimg } 3) I tried packaging some rust apps which are not in the repositories=2E I needed to use two 'hacks' to succeed: Some have a minimum supported rust above 1=2E60, so I did the following: (define rust-1=2E65 (@@ (gnu packages rust) rust-1=2E65)) The cargo build system would then fail due to "invalid inclusion of reserved file name Cargo=2Etoml=2Eorig," a test added to Cargo in the following patch: https://github=2Ecom/rust-lang/cargo/pull/10551=2E I tried adding a step to delete Cargo=2Etoml=2Eorig, based on Nicolas Graves's code in issue 25327 (https://issues=2Eguix=2Egnu=2Eorg/25327#5): #:phases (modify-phases %standard-phases (add-before 'package 'hacky-delete (lambda _ (delete-file "Cargo=2Etoml=2Eorig") #t))) I was then able to successfully build=2E This raised a few questions: a) Is there a better known workaround than this? b) I couldn't find much discussion in the mailing lists - is cargo packaging with more recent rust versions in progress, or is there nobody currently working on it? (I don't mean to sound entitled in asking this - just wondering the context!) c) Semi-related - when packaging, I had to also package some more recent dependency crates, including some platform-specific Windows crates=2E In the cargo build system file, I found the following comment: > Building a package definition does not require actually building / > checking any dependent crates=2E This can be a benefit =2E=2E=2E the bui= ld > will not fail if cargo ends up internally ignoring the dependency=2E However, I noticed that various crates had #:skip-build? #t and various others had it set to false, and I couldn't make sense of when or why to set it=2E What are the best practices for this option? Best regards, Genevieve