From: Kabelo Moiloa via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 60688@debbugs.gnu.org
Subject: bug#60688: guix: home: environment-variables: Breaking change 73684dc90
Date: Mon, 9 Jan 2023 01:27:12 +0100 (CET) [thread overview]
Message-ID: <NLIv7k---3-9@kabelom.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 424 bytes --]
Before this commit it was possible to build a guix home configuration where home-environment-variables-service-type could ungexp any file-like object such as a package. The commit 73684dc90 forces it to be a string, which contradicts the documentation for guix.
Concretely, guix home environment test-home.scm worked before that commit where test-home.scm is attached to this email.
--
Regards,
Kabelo M'sobomvu Moiloa
[-- Attachment #2: test-home.scm --]
[-- Type: text/x-scheme, Size: 360 bytes --]
(use-modules (guix gexp)
(gnu home)
(gnu home services)
(gnu packages base)
(gnu services))
(home-environment
(services
(list
(simple-service 'add-environment-variable
home-environment-variables-service-type
`(("PACKAGE" . ,(file-append hello "/bin/hello")))))))
next reply other threads:[~2023-01-09 19:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 0:27 Kabelo Moiloa via Bug reports for GNU Guix [this message]
2023-01-09 9:11 ` bug#60688: guix: home: environment-variables: Breaking change 73684dc90 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=NLIv7k---3-9@kabelom.com \
--to=bug-guix@gnu.org \
--cc=60688@debbugs.gnu.org \
--cc=personal@kabelom.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.