Subject: bug#50856: closed (Re: Unbound variables in Guix Home)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 28 Sep 2021 11:07:02 +0000

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 [email-masked].

-- 
50856: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50856
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: Unbound variables in Guix Home
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Cc: Andrew Tropin <[email-masked]>
Date: Tue, 28 Sep 2021 14:06:32 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Andrew Tropin <[email-masked]> writes:

[…]

> From 634e6cbb7153ea02fb2ace6d39dae4055ed0c73c Mon Sep 17 00:00:00 2001
> From: Andrew Tropin <[email-masked]>
> 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.

Subject: Unbound variables in Guix Home
From: Oleg Pykhalov <[email-masked]>
To: bug-guix <[email-masked]>
Cc: Andrew Tropin <[email-masked]>
Date: Tue, 28 Sep 2021 00:15:33 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

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.