From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CBUpKF/r6GUgZwEAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Mar 2024 23:17:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CBUpKF/r6GUgZwEAqHPOHw (envelope-from ) for ; Wed, 06 Mar 2024 23:17:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NSVTeORf; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1709763423; 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: content-transfer-encoding:content-transfer-encoding:resent-to: 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=+2FjXT1+ejfUQ8vgq1EhQEhb3rAqMHL4+oFotBDgiZw=; b=PrM+jK11HLsGssTFsn1c3x0BhDksuM3ejlUErh06Mq27IASrg7aQp66RjIVT7WOH9UDiij +Wh5I9kbMF4Pt4mnRdK5Fv0sMTqrQSnmYbE1SzHDn5r6xPbKVEUtdppTUAcEBCimYZsp/M sNBqyxH1LOXQHwh4W6Kq391rFQI5Cumj4CHlQ3ufRzfyI0UXPR6uYgFuz6nsPmSZAOLf0R sLKvkWDEUIK8bRfLntxezoaM3HMn2u/3YJmBgOnZIRZKQAyDSMcKIr2szdBC487yNRTkwy cKdqqiB7hRDDnH2nF6xfyLzOtbWQZZjRz3okQyIkAze5LdCJ2Ua8EZ0MhY0Tzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=NSVTeORf; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709763423; a=rsa-sha256; cv=none; b=sGlE/26w+IaGQs5FOLJkyhPKTJz8vX2Urh0pJl3cePqQWQo2LIkdN0aqOcI3CKrQyVoqHJ JjjwLeSJw9s6kZT/aejWPetHKTa5+P5jeLJOgpYRdPhkhpbN29oPifiS891Qre7rIshlac T8gNA6O6vul15eu6hZLyUgKcwlhEjL8THz+TEQtj2RNo2wIapsaAh7ovE72MRe3oPbaOfM DlplF0+chkmLHphfxNe+NakgeqXLnDUq5RBSjWPGO80NPoRUFDpJ/yauQkWOw6Pk7jXkbk vzdqJaIzTOyFlxl1SZ+xqnvRqnngSz2ht5ddQgys07mqqUnCKSlBNHRcAFg5/g== 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 586DF14B86 for ; Wed, 6 Mar 2024 23:17:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhzYu-0004fG-D6; Wed, 06 Mar 2024 17:16:32 -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 1rhzYt-0004dr-3U for bug-guix@gnu.org; Wed, 06 Mar 2024 17:16:31 -0500 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 1rhzYs-0006Lq-Qh for bug-guix@gnu.org; Wed, 06 Mar 2024 17:16:30 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhzZN-0006bP-Qf for bug-guix@gnu.org; Wed, 06 Mar 2024 17:17:01 -0500 Subject: bug#68848: bug#68857: gnu: home: dotfiles: Avoid creating extra directory in $HOME. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 06 Mar 2024 22:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 68848 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giacomo Leidi Cc: paren@disroot.org, 68848-done@debbugs.gnu.org, Andrew Tropin , 68857-done@debbugs.gnu.org Mail-Followup-To: 68848@debbugs.gnu.org, ludo@gnu.org, janneke@gnu.org Received: via spool by 68848-done@debbugs.gnu.org id=D68848.170976337425296 (code D ref 68848); Wed, 06 Mar 2024 22:17:01 +0000 Received: (at 68848-done) by debbugs.gnu.org; 6 Mar 2024 22:16:14 +0000 Received: from localhost ([127.0.0.1]:51818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhzYc-0006Zw-7g for submit@debbugs.gnu.org; Wed, 06 Mar 2024 17:16:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhzYa-0006Zh-Nm; Wed, 06 Mar 2024 17:16:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhzXy-00069v-HL; Wed, 06 Mar 2024 17:15:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=+2FjXT1+ejfUQ8vgq1EhQEhb3rAqMHL4+oFotBDgiZw=; b=NSVTeORf8ORoVWEowiCv MAvWgUFmqrLaxhOX+jX/xf1BjUziu462cq1TK6sw8k5gn8l6iuD7psBirWCep5cH/GN0zjgxa+btD qqXgXrZSLR3DCl2k9uHN1GO5GgTuk4D+AzsrTkL1xEZrv4nTSWWh1wgpafWBbjHclQJBTv50ThFxV w20oX82S8zUIYlwuzvWbTxA9odOOWVX5+l//XXcqBXiORitrSS3S9zy18m03T46B7mNXN11FzTI91 CuVl7EWKi+pEkURwKyL0romI1PuMj23jOQ86sXmbvBjRkzf9lLaU/7UIjpdzLSJ/QshruTCg62pmO RZpt5ne3EBFJvA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Giacomo Leidi's message of "Wed, 6 Mar 2024 21:52:42 +0100") References: <14bc720d-7fdc-516a-3018-58294c1cafcd@autistici.org> Date: Wed, 06 Mar 2024 23:15:03 +0100 Message-ID: <87v85z6m8o.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.68 X-Spam-Score: -4.68 X-Migadu-Queue-Id: 586DF14B86 X-TUID: EEQx88b1pVEz Hi, Giacomo Leidi skribis: > The current implementation of the home-dotfiles-service-type contradicts > the Guix manual (see https://issues.guix.gnu.org/68848 ). This patch > properly implements both the plain and Stow dotfiles directory layouts. > > It does so by refactoring home-dotfiles-configuration adding a new > packages field to support GNU Stow's users workflow and introducing > a new layout field to switch between the two directory layouts. > > * gnu/home/services/dotfiles (home-dotfiles-configuration): Migrate to > (gnu services configuration); > [packages]: new field; > [layout]: new field; > (strip-stow-dotfile): new variable; > (strip-plain-dotfile): new variable; > (home-dotfiles-configuration->files): use the new fields; > [directory-contents]: allow for > selecting a subset of application dotfile directories; > * doc/guix.texi: document the new layouts. > > Change-Id: I2e96037608353e360828290f055ec5271cfdfd48 Applied, thanks again! Ludo=E2=80=99.