[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54469: home-environment-variables-service-type does not quote things
From: |
Ludovic Courtès |
Subject: |
bug#54469: home-environment-variables-service-type does not quote things |
Date: |
Thu, 14 Jul 2022 01:13:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
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’.
- bug#54469: home-environment-variables-service-type does not quote things,
Ludovic Courtès <=