From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SPiFL/EZvWTQbwEASxT56A (envelope-from ) for ; Sun, 23 Jul 2023 14:15:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mBMlL/EZvWTTaQAAauVa8A (envelope-from ) for ; Sun, 23 Jul 2023 14:15:45 +0200 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 A73AA4BA96 for ; Sun, 23 Jul 2023 14:15:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=bjdP6x+t; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690114545; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=34FgnxvDXhTDg+ED7euWqP1aNCPZcYigmMHYGn5imck=; b=kCKoOJ3LT86A/JXp0UAD5+OuN5zYk98RC4lVg4lUuX4djtu3s9i9MyHrkcO+7Lp4NdibrL Eiq8GmHuun1aC/0mCwmDbZbO+Y9cf6eXo0GD+AL1gF0KKbruQ2Re4uEkLFA3Pskou2MVZ0 AKAI9RutyendPyPf5UidMXQknrowTJMwsLpZKwwfauLyW8b+a6cNujybdsYeWuA92uvuzr 0YnyXJePDM7/FneU/ommy4xgkfhLy183XdL0Akb50bZtq9Pj6ugKmg7ydl2UavWKyNR14q hcYaFJP+2uhOOuNLkNgIN7FsUnLroXqdUDVB0uhxGjwHBjJoJhoTDddoonbrnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690114545; a=rsa-sha256; cv=none; b=kJuKWNYXQcMHCiu/2KeEBzcLpmws9L2vnnCil+dNyWcQXxa5LpNhaN6nFMm4u95vx5pzJR Zs2CI/Jo0eQzqueywgzuzkLNuIZCxTJpKDtP0eqEksFrfNNToISQB4xBpa+ImjvNqiwQQ3 OxanFTOVCUkZ7GGhCjB9c4ytEfEwQ7d6oUyaJvYcV/812LOch3zUEzZMXu7F6BjdfBWWjG npZEDfB26WS65aHRUWjdFHGXBEViqfibItISXzR5pqZFj8Oosj14wVzEnBVg3m9syB2eCe gbgv/jteDCJtQ4PIFE74JmGS6sgKUTzDIRNzdi5xyDEfhNWTdNuF/xj5Gw3eyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=qq.com header.s=s201512 header.b=bjdP6x+t; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNXzO-0002Pu-F4; Sun, 23 Jul 2023 08:15:06 -0400 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 1qNXzL-0002P2-7Z for guix-patches@gnu.org; Sun, 23 Jul 2023 08:15:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNXzK-0000u6-VI for guix-patches@gnu.org; Sun, 23 Jul 2023 08:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNXzK-0007Bk-Qo for guix-patches@gnu.org; Sun, 23 Jul 2023 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64798] [PATCH 206/209] services: sddm: set some envvar to constructor. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Jul 2023 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64798 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64798@debbugs.gnu.org Received: via spool by 64798-submit@debbugs.gnu.org id=B64798.169011444927513 (code B ref 64798); Sun, 23 Jul 2023 12:15:02 +0000 Received: (at 64798) by debbugs.gnu.org; 23 Jul 2023 12:14:09 +0000 Received: from localhost ([127.0.0.1]:38953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNXyT-00079a-0W for submit@debbugs.gnu.org; Sun, 23 Jul 2023 08:14:09 -0400 Received: from out203-205-251-59.mail.qq.com ([203.205.251.59]:34531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1qNXyN-00078I-DW for 64798@debbugs.gnu.org; Sun, 23 Jul 2023 08:14:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1690114435; bh=34FgnxvDXhTDg+ED7euWqP1aNCPZcYigmMHYGn5imck=; h=From:To:Subject:Date:In-Reply-To:References; b=bjdP6x+tRgDpubvQTXIXdu6XmswYmmI8Zo8tpsqtRViFFgBd7ccxjwdj1wwvyjlQ4 4lLurGGVNwEUeiUbcjdZhz8huofCil3kehpRM2GzWqTJDdTkDiNHRYgNzHLS183CLW jpn8XeY8nKQ45OnLGeVIayw0Dvgh3u4aYcnR18cA= Received: from localhost.localdomain ([111.0.51.236]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 37312C61; Sun, 23 Jul 2023 20:13:51 +0800 X-QQ-mid: xmsmtpt1690114434twsramkng Message-ID: X-QQ-XMAILINFO: MPEorwW6cFo9oG38sRTEiY+LnVq2IJv7irgD32jMGKp7pxBJXJuo0Tt67C0xNv zHpO5vO83fOFXHbtMFhL3en0Dzkj8Xh/P8qPltIkWm9DYKmq4Wc41pt8UeACiDm0Go7ucF2I+6mi Ui1KiJ9xlBKy3KGi7XL0gJ67hA68emS/E9BWcAr4l7fKJVUj+MD4odAGPKOQvQnuzSOnZPJ2vd1L J25oXqc1cqsvmlFHPJSKevKQV+CX5WwzkoY6hWbKpsEslM6Y2mBZtN9aIJS9na00Z0b7EFEP7ESD q+rbwJ/J03Tr18Aoa4WhbHR1t018ri3WvbsldKVy8jTkLcbj+6+OKvcspb86adccQ5v8hY6Kdymq NTS/o9L2SVqVVB3pd9/PkOvo9i4LEFvknbjdbJXPcXXYUjQLpVCDsYYfYbJoYAZsqA5/2O9LOfzC nJyKYMXmfLm9nIHhqmGIWAdqHanJM1ABmD/6TwK6qHYdAWnz4NqhkHiBjfEL3fYLOJgugMN5gPD+ L+usBWSYirNPldda+mGDA9sj3a6pkaovgmCL8wuQJHaoEkmTechUQkXkOYTHSPEAVL3E5AKjODBE hoD1b94GYwiAL1W0c84+YK5J7xozyXfAuGK8zwuA9HHEeIfHtS7sQv9cD7sKIFg3NNENZd24jgdP eKFszKWCS5okV/tCr1dB7+W3Fmjwb1AN5tN/JNYEOm6nIIcvbXnU5Dezi9iW1gntjL6xQwt2QnRt ns/NPQ5TzWgnygljdvFIyqbp/On/fkh/63YtaKRHO+5nOI3M2iEn1JuYQlucZdqvdEAlYoDDGm2y R+muQH84m/JmpVTcLYFMn9CGxD+uy+ZJH1WOsN1kkeAYC9PeXapEIXQjUDjxtW131sVWHt/siErs a+9aBkRgd7qqv+EJzXRfokCWsl80qqHp0pkgpGrCiiIViGdDDZtaShdNCLiCOns662lyxVT1syR6 Yptvb08+YLlgCB1j0bSkKgx0TSQF8vrwsDoy1RjucELWi3eWjDyw== X-QQ-XMRINFO: OWPUhxQsoeAVDbp3OJHYyFg= Date: Sun, 23 Jul 2023 16:47:06 +0800 X-OQ-MSGID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Zheng Junjie <873216071@qq.com> X-ACL-Warn: , Zheng Junjie via Guix-patches From: Zheng Junjie via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.15 X-Spam-Score: -6.15 X-Migadu-Queue-Id: A73AA4BA96 X-TUID: nl4XzEmE6gNV * gnu/services/sddm.scm(sddm-service-type): set some envvar to make breeze theme work. --- gnu/services/sddm.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm index c9a7ba96f4..69c737829b 100644 --- a/gnu/services/sddm.scm +++ b/gnu/services/sddm.scm @@ -171,7 +171,16 @@ (define (sddm-shepherd-service config) (documentation "SDDM display manager.") (requirement '(user-processes elogind pam)) (provision '(xorg-server display-manager)) - (start #~(make-forkexec-constructor #$sddm-command)) + (start #~(make-forkexec-constructor + #$sddm-command + ;; some theme need icon,qml,data so add path to env. + #:environment-variables + (cons* + "XDG_DATA_DIRS=/run/current-system/profile/share" + "XDG_CONFIG_DIRS=/run/current-system/profile/etc/xdg" + "QT_PLUGIN_PATH=/run/current-system/profile/lib/qt5/plugins" + "QML2_IMPORT_PATH=/run/current-system/profile/lib/qt5/qml" + (default-environment-variables)))) (stop #~(make-kill-destructor))))) (define (sddm-etc-service config) -- 2.41.0