GNU bug report logs - #56610
Guix Home placing dotfiles in wrong directory.

Previous Next

Package: guix;

Reported by: Raghav Gururajan <rg <at> raghavgururajan.name>

Date: Sun, 17 Jul 2022 07:09:02 UTC

Severity: normal

Done: Oleg Pykhalov <go.wigust <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Raghav Gururajan <rg <at> raghavgururajan.name>
Subject: bug#56610: closed (Re: bug#56610: Guix Home placing dotfiles in
 wrong directory.)
Date: Sun, 17 Jul 2022 08:35:03 +0000
[Message part 1 (text/plain, inline)]
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 56610 <at> debbugs.gnu.org.

-- 
56610: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56610
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: Raghav Gururajan via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 56610-done <at> debbugs.gnu.org
Subject: Re: bug#56610: Guix Home placing dotfiles in wrong directory.
Date: Sun, 17 Jul 2022 11:34:44 +0300
[Message part 3 (text/plain, inline)]
Hi,

Raghav Gururajan via Bug reports for GNU Guix <bug-guix <at> gnu.org> 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.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: bug-guix <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>, andrew <at> trop.in
Subject: Guix Home placing dotfiles in wrong directory.
Date: Sun, 17 Jul 2022 03:07:57 -0400
[Message part 6 (text/plain, inline)]
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.
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 3 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.