From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 54469@debbugs.gnu.org
Subject: bug#54469: home-environment-variables-service-type does not quote things
Date: Thu, 14 Jul 2022 01:13:16 +0200 [thread overview]
Message-ID: <87v8s08v3n.fsf@gnu.org> (raw)
In-Reply-To: <8edc244df527278786d4d0e1dfb33afce441546d.camel@telenet.be> (Maxime Devos's message of "Sat, 19 Mar 2022 22:04:59 +0100")
Hi,
Maxime Devos <maximedevos@telenet.be> skribis:
> (use-modules (gnu home) (gnu packages) (gnu home services)
> (gnu services) (guix gexp) (gnu home services shells))
>
> (define formula-of-the-day
> ;; TODO: add some more formulae, randomise
> "$US dollar/€euro = 1.11")
>
> (home-environment
> (packages '())
> (services
> (list (simple-service 'extra-environment-variables
> home-environment-variables-service-type
> `(("formula of the (reconfiguration) day" . ,formula-of-the-day))))))
Fixed in af4c103595a725194318f40fc5aba110772ff417… except for checking
the name of the variable.
I guess we should stick to the grammar for “names” that Bash defines
(info "(bash) Definitions") and error out if the variable name doesn’t
comply?
Ludo’.
next prev parent reply other threads:[~2022-07-13 23:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-19 21:04 bug#54469: home-environment-variables-service-type does not quote things Maxime Devos
2022-07-13 23:13 ` Ludovic Courtès [this message]
2022-07-21 12:30 ` Maxime Devos
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=87v8s08v3n.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=54469@debbugs.gnu.org \
--cc=maximedevos@telenet.be \
/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).