guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit bdf4180d1257b9c592eb80021ce36d5f592f6047
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Feb 4 12:45:11 2026 +0000
gnu: gourmet: Fix build.
* gnu/packages/nutrition.scm (gourmet)
[phases]{set-home-env}: New phase.
{configure-tests}: Move setting HOME to {set-home-env} phase.
Relates-to: guix/guix#5892
Change-Id: I153a0c7b2a1d8fac6402dd75f31edfc6ec4a7ef8
---
gnu/packages/nutrition.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/nutrition.scm b/gnu/packages/nutrition.scm
index 6a8894241f..f32db7c03e 100644
--- a/gnu/packages/nutrition.scm
+++ b/gnu/packages/nutrition.scm
@@ -93,8 +93,8 @@ in the @url{https://schema.org/Recipe} format.")
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/thinkle/gourmet")
- (commit commit)))
+ (url "https://github.com/thinkle/gourmet")
+ (commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
@@ -109,9 +109,11 @@ in the @url{https://schema.org/Recipe} format.")
#~(list "--ignore-glob=gourmet/tests/**/*.py")
#:phases
#~(modify-phases %standard-phases
+ (add-before 'build 'set-home-env
+ (lambda _
+ (setenv "HOME" "/tmp")))
(add-before 'check 'configure-tests
(lambda _
- (setenv "HOME" "/tmp") ;needed by tests
(system "Xvfb &")
(setenv "DISPLAY" ":0")))
(add-after 'install 'install-dekstop-file-and-icons