GNU bug report logs - #52808
Guix home should not assume that all targets are dot files

Previous Next

Package: guix;

Reported by: "Nick Zalutskiy" <nick <at> const.fun>

Date: Sun, 26 Dec 2021 17:37:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Nick Zalutskiy" <nick <at> const.fun>
To: 52808 <at> debbugs.gnu.org
Subject: bug#52808: Guix home should not assume that all targets are dot files
Date: Sun, 26 Dec 2021 12:17:27 -0500
[Message part 1 (text/plain, inline)]
The following configuration results in a `~/.run` symlink being created. My expectation is that a `~/run` symlink is created instead. (ie. not a dotfile)

> (home-environment
>   (services
>     (list (service
>             home-bash-service-type
>             (home-bash-configuration
>           (guix-defaults? #t)))
>       (simple-service 'my-files
>               home-files-service-type
>               `(("run" ,(local-file "run")))))))

This applies to all other targets. My expectation is that the configuration should expect the exact target and not make an assumption that all targets are hidden files, since that allows for more utility: 

> (home-environment
>   (services
>     (list (service
>             home-bash-service-type
>             (home-bash-configuration
>               (guix-defaults? #t)))
>           (simple-service 'config-files
>               home-files-service-type
>               `(("run" ,(local-file "run"))
>                 ("README.txt" ,(local-file "README.txt"))
>                 (".config/guix/channels.scm" ,(local-file "config/guix
>                 (".emacs.d/init.el" ,(local-file "emacs.d/init.el"))
>                 (".vimrc" ,(local-file "vimrc"))
>                 (".gitconfig" ,(local-file "gitconfig")))))))

Thank you,

-Nick
[Message part 2 (text/html, inline)]

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

Previous Next


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