<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/gnu/home/services/shells.scm, branch version-1.4.0</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>home: services: Use 'match-record' instead of 'match'.</title>
<updated>2022-12-08T12:21:46+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-11-19T16:37:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=93d37985da59fbd5a42c0d868dc3616b0f8d05cc'/>
<id>93d37985da59fbd5a42c0d868dc3616b0f8d05cc</id>
<content type='text'>
* gnu/home/services/mcron.scm (home-mcron-shepherd-services): Use
'match-record' instead of 'match'.
* gnu/home/services/shells.scm (home-bash-extensions): Likewise.
* gnu/home/services/xdg.scm (serialize-xdg-desktop-entry): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/home/services/mcron.scm (home-mcron-shepherd-services): Use
'match-record' instead of 'match'.
* gnu/home/services/shells.scm (home-bash-extensions): Likewise.
* gnu/home/services/xdg.scm (serialize-xdg-desktop-entry): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix problems initially introduced in commit 543d971ed2, now reinstated.</title>
<updated>2022-11-17T11:49:51+00:00</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2022-11-17T04:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=238248aac98daa8d455fc0c2244ba3e0175cb8b7'/>
<id>238248aac98daa8d455fc0c2244ba3e0175cb8b7</id>
<content type='text'>
Commit 543d971ed2 ("services: configuration: Re-order generated record
fields") introduced two regressions, one in guix home and another one in the
zabbix service.

* gnu/home/services/shells.scm (home-bash-extensions): Remove the first
pattern in the match, which used to be to ignore %location.
* gnu/services/monitoring.scm (zabbix-front-end-nginx-extension): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 543d971ed2 ("services: configuration: Re-order generated record
fields") introduced two regressions, one in guix home and another one in the
zabbix service.

* gnu/home/services/shells.scm (home-bash-extensions): Remove the first
pattern in the match, which used to be to ignore %location.
* gnu/services/monitoring.scm (zabbix-front-end-nginx-extension): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>home: services: environment-variables: Double-quote values.</title>
<updated>2022-07-13T23:05:34+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-07-13T22:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=af4c103595a725194318f40fc5aba110772ff417'/>
<id>af4c103595a725194318f40fc5aba110772ff417</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/54469&gt;.
Reported by Maxime Devos &lt;maximedevos@telenet.be&gt;.

* gnu/home/services.scm (environment-variable-shell-definitions): New
procedure, with code formerly in 'serialize-posix-env-vars'.
(environment-variables-&gt;setup-environment-script): Change
"setup-environment" from 'mixed-text-file' to 'computed-file', and use
'environment-variable-shell-definitions'.
* tests/guix-home.sh: Test it.
* gnu/home/services/shells.scm (serialize-posix-env-vars): Delegate to
'environment-variable-shell-definitions'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://issues.guix.gnu.org/54469&gt;.
Reported by Maxime Devos &lt;maximedevos@telenet.be&gt;.

* gnu/home/services.scm (environment-variable-shell-definitions): New
procedure, with code formerly in 'serialize-posix-env-vars'.
(environment-variables-&gt;setup-environment-script): Change
"setup-environment" from 'mixed-text-file' to 'computed-file', and use
'environment-variable-shell-definitions'.
* tests/guix-home.sh: Test it.
* gnu/home/services/shells.scm (serialize-posix-env-vars): Delegate to
'environment-variable-shell-definitions'.
</pre>
</div>
</content>
</entry>
<entry>
<title>home: services: shells: Double-quote environment variable values.</title>
<updated>2022-07-13T23:05:34+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-07-13T15:14:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8af749224fd69daee5b67295186c77becb1a4479'/>
<id>8af749224fd69daee5b67295186c77becb1a4479</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/56540&gt;.

Until now, environment variable values were emitted unquoted, producing
invalid shell code if the value contains spaces for example.

* gnu/home/services/shells.scm (serialize-posix-env-vars): Define
'shell-quote' procedure in staged code and use it for #$value.
* tests/guix-home.sh: Add test for PS1 variable with a value containing
spaces.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;https://issues.guix.gnu.org/56540&gt;.

Until now, environment variable values were emitted unquoted, producing
invalid shell code if the value contains spaces for example.

* gnu/home/services/shells.scm (serialize-posix-env-vars): Define
'shell-quote' procedure in staged code and use it for #$value.
* tests/guix-home.sh: Add test for PS1 variable with a value containing
spaces.
</pre>
</div>
</content>
</entry>
<entry>
<title>home: services: shell: Do not use "setup" as a verb.</title>
<updated>2022-07-13T23:05:34+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-07-13T15:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=9e4cbb307665f061d6e8bc75660ae9421886f6b2'/>
<id>9e4cbb307665f061d6e8bc75660ae9421886f6b2</id>
<content type='text'>
* gnu/home/services/shells.scm (zsh-file-zprofile)
(add-bash-configuration): Do not use "setup" as a word in generated
files.  End sentences with a period.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/home/services/shells.scm (zsh-file-zprofile)
(add-bash-configuration): Do not use "setup" as a word in generated
files.  End sentences with a period.
</pre>
</div>
</content>
</entry>
<entry>
<title>home: services: shells: Export Fish environment variables.</title>
<updated>2022-06-29T18:40:36+00:00</updated>
<author>
<name>(</name>
<email>paren@disroot.org</email>
</author>
<published>2022-06-29T06:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=75a520cca62ea105a6fbb7f1d74b3a4ef439cd73'/>
<id>75a520cca62ea105a6fbb7f1d74b3a4ef439cd73</id>
<content type='text'>
Variables set in the Fish configuration weren't previously being
exported.

* gnu/home/services/shells.scm (serialize-fish-env-vars): Output the
`set -x` command instead of `set`.

Signed-off-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Variables set in the Fish configuration weren't previously being
exported.

* gnu/home/services/shells.scm (serialize-fish-env-vars): Output the
`set -x` command instead of `set`.

Signed-off-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>home: shells: Migrate fish to xdg-configuration-files.</title>
<updated>2022-04-29T16:07:16+00:00</updated>
<author>
<name>Bastien Rivière</name>
<email>me@babariviere.com</email>
</author>
<published>2022-04-26T17:31:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=2c408520f59ce7a2638dccab7017e2fcb41292a0'/>
<id>2c408520f59ce7a2638dccab7017e2fcb41292a0</id>
<content type='text'>
* gnu/home/services/shells.scm (home-fish-service-type): Use new
xdg-configuration-files-service-type service.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/home/services/shells.scm (home-fish-service-type): Use new
xdg-configuration-files-service-type service.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>home: services: fish: Fix incorrect ".config" file name.</title>
<updated>2022-04-28T22:33:45+00:00</updated>
<author>
<name>Maya</name>
<email>maya.omase@protonmail.com</email>
</author>
<published>2022-04-17T19:05:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=f2eb0d39226103e78c8178170f6babc0ec6621b9'/>
<id>f2eb0d39226103e78c8178170f6babc0ec6621b9</id>
<content type='text'>
This is a followup to 5832d9fb601c7d4ec5380654db2b62b906bc658f.

* gnu/home/services/shells.scm (fish-files-service): Change "config/"
to ".config/".

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a followup to 5832d9fb601c7d4ec5380654db2b62b906bc658f.

* gnu/home/services/shells.scm (fish-files-service): Change "config/"
to ".config/".

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>home: shells: Rename zsh related functions.</title>
<updated>2022-04-10T22:25:32+00:00</updated>
<author>
<name>Andrew Tropin</name>
<email>andrew@trop.in</email>
</author>
<published>2022-03-29T08:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ac8e987ce2258104ef6d7c51b15d5f974058ca76'/>
<id>ac8e987ce2258104ef6d7c51b15d5f974058ca76</id>
<content type='text'>
* gnu/home/services/shells.scm (home-zsh-service-type): Make zsh related
private functions more consistently named.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/home/services/shells.scm (home-zsh-service-type): Make zsh related
private functions more consistently named.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>home: symlink-manager: Remove appending of leading dot.</title>
<updated>2022-04-08T18:13:45+00:00</updated>
<author>
<name>Andrew Tropin</name>
<email>andrew@trop.in</email>
</author>
<published>2022-03-29T08:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=5832d9fb601c7d4ec5380654db2b62b906bc658f'/>
<id>5832d9fb601c7d4ec5380654db2b62b906bc658f</id>
<content type='text'>
* gnu/home/services.scm (xdg-configuration-files-directory): Add leading dot.
* gnu/home/services.scm (xdg-configuration-files-service-type): Change name.
* gnu/home/services/shells.scm (add-shell-profile-file,
zsh-get-configuration-files, add-zsh-dot-configuration,
add-zsh-xdg-configuration, add-bash-configuration): Add leading dots.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Remove
leading dot.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/home/services.scm (xdg-configuration-files-directory): Add leading dot.
* gnu/home/services.scm (xdg-configuration-files-service-type): Change name.
* gnu/home/services/shells.scm (add-shell-profile-file,
zsh-get-configuration-files, add-zsh-dot-configuration,
add-zsh-xdg-configuration, add-bash-configuration): Add leading dots.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Remove
leading dot.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
