From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aGQKLj+zBGSoowAAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 16:20:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gHPyLT+zBGQIeQEAauVa8A (envelope-from ) for ; Sun, 05 Mar 2023 16:20:31 +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 900ABA0B1 for ; Sun, 5 Mar 2023 16:20:31 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678029631; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=JpfPUu174PusWxShkSAjnN8QFoBV+yIion8QRpTY4m4=; b=V4GxYM5iM1KfhkGwIdqeVcm+QJlPQFIUayPUze/kG3AHd/dPeOv8VSxC6ezLGiJU+BqA2q BUP/QL/O01m77PX8JNXBOBkFkFAru6Bgx7pZmXS165dx/m4autXaZZRi0/MqjkD5fejBnm 3iT9Sbpp65p90WZOP/VlzDlJQkD+v9w9ryEBqGFCj/25S/iqg09fgbsLfpMIkWZnVic4xF Awxx9pILOHA+5X/o1SeKXJtoBb+ThOT/x26uvGlsMg3wrLQpM0UEd9O6tN9GctvlOFC58J wtoxEvTboO9CKbDzIFGR6U1Wf0hb4czC5VfzOqvJo/RYHxvo3VFRUrpBhtgTjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678029631; a=rsa-sha256; cv=none; b=DITFc0EC0VneH1NORJEhjqPB+F8L4+u4+KJxUjwpnHar8XAa3dRm/I8vr8zwPw84+tg2FX soeEa8j1E1sWrTd94W6I1ScDsiLMa0MveVrAhKgpfOWdAaXrJFBecqjtj1dhWVk4mg7ykP uBIuVCC3ArPedLNyw9T+zWPE/sEAW3wiNCseC3M8Yg6x5X+ybRS9xvgcHWB83J7ldxawgh CZaWaONw1ZdaOcviy0pwVUmHOuWzax2LKeSQbAt+npYz9S6Btsv9yUk6QgtpUHecA0HAOT TLk8NbwZMVcxIM5xrAcPifkr8lTd0v+LAAltNDnu8Q4V6CHdysDASaKY9A5E+Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYq9f-0002Gj-3Q; Sun, 05 Mar 2023 10:20:07 -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 1pYq9b-0002G8-Uy for guix-patches@gnu.org; Sun, 05 Mar 2023 10:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYq9b-0004RX-FJ for guix-patches@gnu.org; Sun, 05 Mar 2023 10:20:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYq9b-0003jA-74 for guix-patches@gnu.org; Sun, 05 Mar 2023 10:20:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61982] [PATCH 1/2] home: services: xdg-base-directories: Set correct value for XDG_STATE_HOME. References: In-Reply-To: Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Mar 2023 15:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61982 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61982@debbugs.gnu.org Cc: Bruno Victal , philip@philipmcgrath.com Received: via spool by 61982-submit@debbugs.gnu.org id=B61982.167802956414288 (code B ref 61982); Sun, 05 Mar 2023 15:20:03 +0000 Received: (at 61982) by debbugs.gnu.org; 5 Mar 2023 15:19:24 +0000 Received: from localhost ([127.0.0.1]:40320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYq8y-0003iO-4H for submit@debbugs.gnu.org; Sun, 05 Mar 2023 10:19:24 -0500 Received: from smtpmciv1.myservices.hosting ([185.26.107.237]:33358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYq8v-0003iB-Vg for 61982@debbugs.gnu.org; Sun, 05 Mar 2023 10:19:22 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv1.myservices.hosting (Postfix) with ESMTP id D8CC420608; Sun, 5 Mar 2023 16:19:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 71D4680098; Sun, 5 Mar 2023 16:19:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aeppnyUCeKte; Sun, 5 Mar 2023 16:19:20 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id C220D80079; Sun, 5 Mar 2023 16:19:19 +0100 (CET) From: Bruno Victal Date: Sun, 5 Mar 2023 15:19:13 +0000 Message-Id: <3005f8a58ec5afc447f2baf40958956bd0d16099.1678029530.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.1 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: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 900ABA0B1 X-Spam-Score: -2.21 X-Migadu-Spam-Score: -2.21 List-Help: List-Subscribe: , 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-TUID: fZC712dYd8Ty XDG Base Directory Specification 0.8 officially introduces the XDG_STATE_HOME environment variable. Fixes . * gnu/home/services/xdg.scm (home-xdg-base-directories-configuration)[state-home]: Set default value according to spec. Update field documentation. (home-xdg-base-directories-service-type): Update service description. --- gnu/home/services/xdg.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/gnu/home/services/xdg.scm b/gnu/home/services/xdg.scm index 3007493f85..ac557b4c3d 100644 --- a/gnu/home/services/xdg.scm +++ b/gnu/home/services/xdg.scm @@ -104,11 +104,11 @@ (define-configuration home-xdg-base-directories-configuration Specification, but helps to make implementation of home services more consistent.") (state-home - (path "$HOME/.local/var/lib") - "Base directory for programs to store state files, like databases, -analogus to @file{/var/lib}, but for user. It is not a part of XDG -Base Directory Specification, but helps to make implementation of home -services more consistent.")) + (path "$HOME/.local/state") + "Base directory for programs to store state data that should persist +between (application) restarts, such as logs, but are not important or +portable enough to the user to warrant storing them in +@env{XDG_DATA_HOME}.")) (define (home-xdg-base-directories-environment-variables-service config) (map @@ -158,12 +158,12 @@ (define home-xdg-base-directories-service-type (compose identity) (extend last-extension-or-cfg) (description "Configure XDG base directories. This -service introduces two additional variables @env{XDG_STATE_HOME}, -@env{XDG_LOG_HOME}. They are not a part of XDG specification, at -least yet, but are convenient to have, it improves the consistency -between different home services. The services of this service-type is -instantiated by default, to provide non-default value, extend the -service-type (using @code{simple-service} for example)."))) +service introduces an additional @env{XDG_LOG_HOME} variable. It's not +a part of XDG specification, at least yet, but are convenient to have, +it improves the consistency between different home services. The +services of this service-type is instantiated by default, to provide +non-default value, extend the service-type (using @code{simple-service} +for example)."))) (define (generate-home-xdg-base-directories-documentation) (generate-documentation base-commit: d92ec2f2812c76b23aab778e26708cf353542ae9 -- 2.39.1