unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: 56610@debbugs.gnu.org
Cc: 56610-done@debbugs.gnu.org
Subject: bug#56610: Guix Home placing dotfiles in wrong directory.
Date: Sun, 17 Jul 2022 11:34:44 +0300	[thread overview]
Message-ID: <87lessdtnf.fsf@gmail.com> (raw)
In-Reply-To: <4f8337c4-4623-7c0f-5c48-8d1f14c08567@raghavgururajan.name> (Raghav Gururajan via Bug reports for's message of "Sun, 17 Jul 2022 03:07:57 -0400")

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

  reply	other threads:[~2022-07-17  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-17  7:07 bug#56610: Guix Home placing dotfiles in wrong directory Raghav Gururajan via Bug reports for GNU Guix
2022-07-17  8:34 ` Oleg Pykhalov [this message]
2022-07-18  6:31 ` Andrew Tropin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lessdtnf.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=56610-done@debbugs.gnu.org \
    --cc=56610@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).