emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: GNU bug Tracking System
Subject: bug#56610: closed (Guix Home placing dotfiles in wrong directory.)
Date: Sun, 17 Jul 2022 08:35:03 +0000

Your message dated Sun, 17 Jul 2022 11:34:44 +0300
with message-id <87lessdtnf.fsf@gmail.com>
and subject line Re: bug#56610: Guix Home placing dotfiles in wrong directory.
has caused the debbugs.gnu.org bug report #56610,
regarding Guix Home placing dotfiles in wrong directory.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
56610: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56610
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Guix Home placing dotfiles in wrong directory. Date: Sun, 17 Jul 2022 03:07:57 -0400
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.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#56610: Guix Home placing dotfiles in wrong directory. Date: Sun, 17 Jul 2022 11:34:44 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Hi,

Raghav Gururajan via Bug reports for GNU Guix <bug-guix@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.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]