Subject: bug#56610: closed (Re: bug#56610: Guix Home placing dotfiles in wrong directory.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 17 Jul 2022 08:35:03 +0000

Your bug report

#56610: Guix Home placing dotfiles in wrong directory.

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56610: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56610
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#56610: Guix Home placing dotfiles in wrong directory.
From: Oleg Pykhalov <[email-masked]>
To: Raghav Gururajan via Bug reports for GNU Guix <[email-masked]>
Cc: [email-masked]
Date: Sun, 17 Jul 2022 11:34:44 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Raghav Gururajan via Bug reports for GNU Guix <[email-masked]> writes:

> home-files-service-type is placing configuration files in `~/config/foo`
> instead of `~/.config/foo`.
>
> For example, the following guix-home service should place the git
> configuration in ~/.config/git`. But it creates a new directory `~/config/git`
> and places the file there.
>
>     (simple-service 'git-config
>                     home-files-service-type
>                     (list
>                      `("config/git/config"
>                        ,(local-file
>                          (string-append (getenv "HOME")
>                                         "/dotfiles/git/config")))))
>
> It started happening recently, so will try to bisect.

It's not a bug, use ‘`(".config/git/config" ,(local-file ...))’.

I'll close the issue if you don't mind.

Oleg.

Subject: Guix Home placing dotfiles in wrong directory.
From: Raghav Gururajan <[email-masked]>
To: [email-masked]
Cc: Ludovic Courtès <[email-masked]>, [email-masked]
Date: Sun, 17 Jul 2022 03:07:57 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix,

home-files-service-type is placing configuration files in `~/config/foo` 
instead of `~/.config/foo`.

For example, the following guix-home service should place the git 
configuration in ~/.config/git`. But it creates a new directory 
`~/config/git` and places the file there.

     (simple-service 'git-config
                     home-files-service-type
                     (list
                      `("config/git/config"
                        ,(local-file
                          (string-append (getenv "HOME")
                                         "/dotfiles/git/config")))))

It started happening recently, so will try to bisect.

Regards,
RG.