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 ms0.migadu.com with LMTPS id yM77Oro/AmKsBwAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 11:02:34 +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 iJW+N7o/AmLtGwAAauVa8A (envelope-from ) for ; Tue, 08 Feb 2022 11:02:34 +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 3917E3ED34 for ; Tue, 8 Feb 2022 11:02:32 +0100 (CET) Received: from localhost ([::1]:42340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHNKR-0003zG-D0 for larch@yhetil.org; Tue, 08 Feb 2022 05:02:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHN6R-00042m-EN for bug-guix@gnu.org; Tue, 08 Feb 2022 04:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHN6P-0007fJ-So for bug-guix@gnu.org; Tue, 08 Feb 2022 04:48:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHN6P-0004yl-SQ for bug-guix@gnu.org; Tue, 08 Feb 2022 04:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52808: Guix home should not assume that all targets are dot files Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 08 Feb 2022 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52808 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrew Tropin Received: via spool by 52808-submit@debbugs.gnu.org id=B52808.164431363018924 (code B ref 52808); Tue, 08 Feb 2022 09:48:01 +0000 Received: (at 52808) by debbugs.gnu.org; 8 Feb 2022 09:47:10 +0000 Received: from localhost ([127.0.0.1]:45325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHN5a-0004vA-0j for submit@debbugs.gnu.org; Tue, 08 Feb 2022 04:47:10 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:35488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHN5V-0004uU-Sa for 52808@debbugs.gnu.org; Tue, 08 Feb 2022 04:47:09 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4BA7C1EF; Tue, 8 Feb 2022 10:46:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id juZFBe_ntBIB; Tue, 8 Feb 2022 10:46:58 +0100 (CET) Received: from ribbon (unknown [193.50.110.192]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 07188193; Tue, 8 Feb 2022 10:46:57 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <6050c325-9ae9-406a-97fe-91bdf9bcd12a@www.fastmail.com> <87bkzw2kvm.fsf@trop.in> <87o83t9mf8.fsf@gnu.org> <878rutzo1d.fsf@trop.in> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?UTF-8?Q?Pluvi=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 08 Feb 2022 10:46:57 +0100 In-Reply-To: <878rutzo1d.fsf@trop.in> (Andrew Tropin's message of "Wed, 02 Feb 2022 11:10:54 +0300") Message-ID: <87zgn1bsha.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 4BA7C1EF X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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: , Cc: 52808@debbugs.gnu.org, Nick Zalutskiy Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644314552; 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-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=n7gelNTbBJRHPzISi7ZRuTPtGywEWrCqrH3El7WwTKg=; b=oeb60OKOYr4xdwz1qCGtBaj4b6peJI8QsnCH9aB03Aae920r0qLA7nFIRPyoFHrILvSkAr UnlxlRU1w2PcI/CncBw3WfYhyEVXU/MbMS5WNrKIOMFUAh9jglGoIu9CNlPnPgtsbFmXY4 URCfaE90GlIlLa5oNukA15T98nrAmuwmpDW3xbXCYJTxcgTPup9PPehPzqbF+hGejjJeKp gz7VnjdmJtDgkLrPY3/Nptm8z5AqOV4k1OO3T5gSN0j24xuUvuAEfZXAjKLCGgn7NC2gE1 v3Z8qeciTMkaqWWNhqLs88gSw1MMHeexLYcxIPaiS2vPGcj9WDR9ZtXA58eYwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644314552; a=rsa-sha256; cv=none; b=etJUhS+5Z9gj2nWvxqK1ijQWgTEFrN4i0YO6rN4nVnh4FOck0aCbVp519c0W+b8R+e/OC2 13Hgf/KmWaORnjH5EEIl6LORjHsNqAbetLnzkm2DRxJFwooc50J+cmz65NEu5uIIPwS5nj qNT84A/WEsHUMv9ury6kb8KvUdmKsZTuDcNJFiGDYPxJTee3gJDobIJEUw0gdnLcVStOW1 kHKps4XRjhKCYqREUtyWNFFn/+rN/zWRq1fWAeE02E88FsxuONCdMhxOp4r5cAkucVTDpU AFm+zTbZ9FgraeLTp/NMoj/MVxxQ77njG+SLL421zoy5HVY0nDpCOdNZ5mW2eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 3917E3ED34 X-Spam-Score: -3.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: pTdsEf85oWXt Hi, Andrew Tropin skribis: >>> You can elaborate more on what you try to achieve and I can try to give >>> you a recommendation how to implement it. >> >> I=E2=80=99d expect =E2=80=98home-files-service-type=E2=80=99 to do just = that: add files to the >> home directory, without trying to be smart. >> >> Would it make sense to distinguish between =E2=80=98home-files=E2=80=99 = and (say) >> =E2=80=98home-xdg-configuration-files=E2=80=99? > > Yep, I can do that, actually, it will be even better for the purpose I > originally had. I'll make home-files to store files as it is and > symlink manager not to add leading dots and a separate folder for > xdg configs. Neat. > Ludo, Nick, what do you think about following names? > ~/.guix-home/home-dir-files/ > ~/.guix-home/xdg-config-dir-files/ I=E2=80=99d make it =E2=80=98=E2=80=A6/home-files=E2=80=99 and =E2=80=98=E2= =80=A6/xdg-configuration-files=E2=80=99, but that=E2=80=99s a detail. >> I=E2=80=99d also suggest removing special handling of HOME/files in >> symlink-manager.scm. Relations between the various components of Guix >> Home should preferably be made explicit via service extensions, and not >> implicit through conventions like this =E2=80=98files=E2=80=99 sub-direc= tory. >> >> Thoughts? > > Unfortunatelly, I don't know how to implement polymorphic behavior the > other way with current extension mechanism, so I would prefer to keep > this relation implicit, I=E2=80=99m not sure I follow but maybe I should try by myself to get a bet= ter understanding. Thanks for your feedback! Ludo=E2=80=99.