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: Oleg Pykhalov <go.wigust <at> gmail.com>
To: 56610 <at> debbugs.gnu.org
Cc: 56610-done <at> debbugs.gnu.org
Subject: bug#56610: Guix Home placing dotfiles in wrong directory.
Date: Sun, 17 Jul 2022 11:34:44 +0300
[Message part 1 (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)]

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.