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 EP+CDrD+1GKJ2gAAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 08:33:20 +0200 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 yFlhDrD+1GI8XAAAauVa8A (envelope-from ) for ; Mon, 18 Jul 2022 08:33:20 +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 2002120743 for ; Mon, 18 Jul 2022 08:33:20 +0200 (CEST) Received: from localhost ([::1]:37064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDKJi-00081Y-Hw for larch@yhetil.org; Mon, 18 Jul 2022 02:33:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDKIX-0007QN-5y for bug-guix@gnu.org; Mon, 18 Jul 2022 02:32:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDKIU-00080O-4j for bug-guix@gnu.org; Mon, 18 Jul 2022 02:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDKIT-0000Y5-Rq for bug-guix@gnu.org; Mon, 18 Jul 2022 02:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56610: Guix Home placing dotfiles in wrong directory. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 Jul 2022 06:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56610 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Raghav Gururajan , 56610@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 56610-submit@debbugs.gnu.org id=B56610.16581258982077 (code B ref 56610); Mon, 18 Jul 2022 06:32:01 +0000 Received: (at 56610) by debbugs.gnu.org; 18 Jul 2022 06:31:38 +0000 Received: from localhost ([127.0.0.1]:49066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDKI5-0000XR-V9 for submit@debbugs.gnu.org; Mon, 18 Jul 2022 02:31:38 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDKI0-0000X6-NP for 56610@debbugs.gnu.org; Mon, 18 Jul 2022 02:31:36 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 87C0160013; Mon, 18 Jul 2022 06:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1658125886; h=from:from: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; bh=+KOydEJt9LN7jvkXOjRP6NkdmjABxgjyPvs2oXFrsk8=; b=jEp3i5UIBPQ6C1OzTGI1J7rZKfnXxSjcZxF4OYzgsPKfmJ2BYPN+GL7Qshuc87ndIQWlHf xA4dwsEcpSdUIGYrrvQqZZW2zP/6YmRrH8r/SSi0DX35TB6QKzL7KWSJmVpqc3hndCGYKT piQ6lVyoAjCgeeDymqi8n8xnzookfafgQhqR+62WYYx49LSFlyrC98Z6Jp/I7PeV3fJy+C mtg9UXkBfYhtobZDV0nYj9lVX4UMZxsbz74LSI8AMbOl339CSnUAXrqgY3FzPkm2gn4fEW svcNodDNJTgyqrXLeEJZL66mZgMPgihizr5vsk/Y+JoXsYPS11S1ZtbmbsTGJQ== From: Andrew Tropin In-Reply-To: <4f8337c4-4623-7c0f-5c48-8d1f14c08567@raghavgururajan.name> References: <4f8337c4-4623-7c0f-5c48-8d1f14c08567@raghavgururajan.name> Date: Mon, 18 Jul 2022 09:31:19 +0300 Message-ID: <87v8rv53uw.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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" Authentication-Results: aspmx1.migadu.com; none X-Migadu-Scanner: scn0.migadu.com X-TUID: rVOgOA6K2gx6 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-07-17 03:07, Raghav Gururajan via Bug reports for wrote: > Hello Guix, > > home-files-service-type is placing configuration files in `~/config/foo`= =20 > instead of `~/.config/foo`. > > For example, the following guix-home service should place the git=20 > configuration in ~/.config/git`. But it creates a new directory=20 > `~/config/git` and places the file there. It's intended https://yhetil.org/guix-devel/87v8w2se04.fsf@trop.in/ Updates to the documentation is on the way: https://yhetil.org/guix-patches/87h74abbn6.fsf@trop.in/ > > (simple-service 'git-config > home-files-service-type In this case, it's better to use home-xdg-configuration-files instead of home-files. > (list > `("config/git/config" > ,(local-file > (string-append (getenv "HOME") Just a tip for finer reproducibility of the configuration: it's better to avoid using environment variables, files outside of the project directory and other thing, which make code impure/dependening on global state. > "/dotfiles/git/config"))))) > > It started happening recently, so will try to bisect. =2D-=20 Best regards, Andrew Tropin --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmLU/jcACgkQIgjSCVjB 3rD0sBAAleD208Pddb4UjZZ/ydhHmNaHg2J9Zb9pVGtZlanHJJdwQ5r+40sIgrA7 1wBini0JiTOi+4stlnUOip7nqFErp3PgSnmI14a2mxNQB6OWbWpTBriLBg0Dh8VO 2OsVXcy9x3vQloNwi7jh/l2n5l/5SHklmg//5DzGhdHyHtOnW0Dd1CGmc7blI9Xf mR/ZNMa4wkePQ5u4YkmSFRsjKVRD14qZb9mM+0xojUW9yrkz4RlFERpR6UVFfahf bgOWobF4l/8bf8vwFJlCGoj5VHBIMrKFnIPY33MdxF1y9NCdeVpsWbnx2eZFMrCT NtUee02jlBBnjME8ta+16cb3fKC5ATKJHOt32/JEq6vyVEHI3SSNNykRpnCDkO6M r12goFD9W2GPjtU1+ssV6dpHBYXQuYOZFiOCQx5lU2SN+yEfdYAJxToXFQEXMmI5 LUSWckkh5Z+dlHXOjgFjjF3Aet+Tv3L1xbq0+B1s2WoCY4Lvy8XR/yqaTMZbR1IZ B1AwkNIxNio6LGAL+LijlRpkKak/uGzPyEmDls7elRIYXz3C7qAy32/fYpLoVw00 i5mGwxo9sKtZND/oHe53PLrzUU+sD+1TwPfcs0Dh5fNJlENSOizQQghTdVqkxZBi ZgPEWbDt80zCCF1LYRihw33iNqDiPVn96TJCsNke7Pl3/zj1TrU= =RWy/ -----END PGP SIGNATURE----- --=-=-=--