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 A7AWE1HJ3GNYXAEAbAwnHQ (envelope-from ) for ; Fri, 03 Feb 2023 09:44:01 +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 wKM1EVHJ3GMp+gAAG6o9tA (envelope-from ) for ; Fri, 03 Feb 2023 09:44:01 +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 BC3D916812 for ; Fri, 3 Feb 2023 09:44:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNrfM-0007HN-Il; Fri, 03 Feb 2023 03:43:28 -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 1pNrfE-00079Y-OI for help-guix@gnu.org; Fri, 03 Feb 2023 03:43:21 -0500 Received: from mx2.mythic-beasts.com ([2a00:1098:0:82:1000:0:2:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNrfD-0006bs-6q for help-guix@gnu.org; Fri, 03 Feb 2023 03:43:20 -0500 Received: from [85.28.89.231] (port=46726 helo=lap.twilken.net) by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pNrf9-00FBet-UY; Fri, 03 Feb 2023 08:43:16 +0000 Date: Fri, 3 Feb 2023 09:42:58 +0100 From: Timo Wilken To: Genevieve Mendoza Cc: help-guix@gnu.org Subject: Re: Missing QT platform plugin for Wayland, GRUB menu-entry, and service/package definitions Message-ID: <20230203084258.ig5burxzuebu577e@lap.twilken.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BlackCat-Spam-Score: 0 Received-SPF: pass client-ip=2a00:1098:0:82:1000:0:2:1; envelope-from=guix@twilken.net; helo=mx2.mythic-beasts.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675413841; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Ag/JMO6nmfkKhi4ifN09CkeptPGp7drhGUt0S7zVZgA=; b=T6w8ZRsKBlK9zbqE8V+uGaa/AbvmAeiSP00rwngoundLTsBTG/QgpPNOaYZ3PyvuhCcJ8y 9KUTg+5/WjUyPq5xbrcU2Wv1QZbX7UR9Xc6ESCvXe3yH0VPXJdwxx+YTSzrGiDH9dHZVCg rt3DTK5Wp31mcuCH5vobeMq1fr0svjX9G9MNO9vouIUUVrTrnZINpVvBZ+iV3lnfMVBndK tCbtSbenj2LcHQFFIBECuOziGztIliTUxKdHwmzga3GXAnsDt3ejpA+zgzrW447mdgkHFh 0Rssh32NTFWB1MOkEzdFOQbCI8hjDlu1cOTEmeA0LZ05HBRJCCG79OpjfAfu0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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-Seal: i=1; s=key1; d=yhetil.org; t=1675413841; a=rsa-sha256; cv=none; b=TS2vnmcXu1yV4XL1wL2oCU9fna14FiUPRbXiWGQ0kUoASznfuL0gl4j6aOkbwjzhhFmPHX /gkt+zcBbFLK6dqZxU6MNgEbECIlA8OYyWg+lMuIj+vkv48OWgMaWfIuVN37UsO2xDeO/K uYcSeKg5C78FPp8bIo8Mts/B8tb69IAejgrQhX1HI25IAXMqXiYkvsvvH83t3Ikgd55/0X LNJw69AhLcFQIKt2FoTGPifB4/ysKs272MI2xcD/vrGnVpMmpcxZvHhfHziAa7rLjFXxHl LVCM4js9ZRb1arqjis45MtW6BDCjYwfCYrIz+67EGIqC0N71mBWftkoIWcq8Ug== X-Migadu-Queue-Id: BC3D916812 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Migadu-Spam-Score: -3.87 X-Spam-Score: -3.87 X-TUID: +jSltzcpybcV Hi Genevieve, On Sun, Jan 22, 2023 at 10:28:30PM -0600, Genevieve Mendoza wrote: > 1) I've noticed that there are service definitions which automatically > pull in the packages they require, with the main example being > desktop-services. I set up some of my own home services, e.g. for > Pipewire, and they work fine if I also have Pipewire installed > (via my profile or home environment). If I don't, then they can't find > the binary and fail. Is there a way to have them specify required > packages that I missed in the docs? How do you refer to these packages in your own home services? The standard way, as far as I know, is to use G-expressions. Here's an example of a shepherd service I use that runs "nm-applet": (shepherd-service (documentation "Applet that provides a GUI for network connections.") (provision '(nm-applet)) (start #~(make-forkexec-constructor (list #$(file-append network-manager-applet "/bin/nm-applet")))) (stop #~(make-kill-destructor))) The #$(file-append package "/bin/exe") inside the G-expression will resolve to the full /gnu/store/...-pipewire-0.3.36/bin/pipewire path, and it ought to stop that path from being garbage-collected as long as the home environment generation it belongs to exists. See "info guix -n 'Shepherd Services'" for more specific examples, and see "info guix -n G-Expressions" for more general information on G-expressions. I hope that helps, and I'm sorry I don't have any experience with the other things you mentioned. Cheers, Timo