GNU bug report logs -
#50856
Unbound variables in Guix Home
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Mon, 27 Sep 2021 21:16:02 UTC
Severity: normal
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#50856: Unbound variables in Guix Home
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 50856 <at> debbugs.gnu.org.
--
50856: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50856
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Andrew Tropin <andrew <at> trop.in> writes:
[…]
> From 634e6cbb7153ea02fb2ace6d39dae4055ed0c73c Mon Sep 17 00:00:00 2001
> From: Andrew Tropin <andrew <at> trop.in>
> Date: Tue, 28 Sep 2021 12:30:55 +0300
> Subject: [PATCH] home-services: Add missing imports and function definition.
>
> * gnu/home-services/configuration.scm: Add missing imports.
> * gnu/home-services/utils.scm (list->human-readable-list): Add new function.
> * gnu/home-services/configuration.scm: Add missing imports.
> * gnu/home-services/xdg.scm: Fix ensure-list function.
> * guix/scripts/home/import.scm: Add missing imports.
> ---
> gnu/home-services/configuration.scm | 2 ++
> gnu/home-services/utils.scm | 30 ++++++++++++++++++++++++++++-
> gnu/home-services/xdg.scm | 12 +++++++-----
> guix/scripts/home/import.scm | 4 ++++
> 4 files changed, 42 insertions(+), 6 deletions(-)
Applied, thank you!
Oleg.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
[Message part 6 (text/plain, inline)]
Hi Guix,
We have unbound variables in some Guix Home files:
--8<---------------cut here---------------start------------->8---
gnu/home-services/configuration.scm:56:6: warning: possibly unbound variable `formatted-message'
gnu/home-services/configuration.scm:57:7: warning: possibly unbound variable `G_'
gnu/home-services/xdg.scm:309:43: warning: possibly unbound variable `maybe-list'
gnu/home-services/xdg.scm:330:13: warning: possibly unbound variable `list->human-readable-list'
guix/scripts/home/import.scm:210:18: warning: possibly unbound variable `package-version'
guix/scripts/home/import.scm:210:35: warning: possibly unbound variable `find-packages-by-name'
guix/scripts/home/import.scm:222:23: warning: possibly unbound variable `cut'
guix/scripts/home/import.scm:222:27: warning: possibly unbound variable `version>?'
guix/scripts/home/import.scm:222:45: warning: possibly unbound variable `<>'
guix/scripts/home/import.scm:225:16: warning: possibly unbound variable `version-unique-prefix'
--8<---------------cut here---------------end--------------->8---
maybe-list and list->human-readable-list come from
gnu/home-services-utils.scm in rde project.
Oleg.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.