mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: gourmet: Fix build.
* gnu/packages/nutrition.scm (gourmet)
[phases]{set-environment}: New phase.
{configure-tests}: Remove phase.
Relates-to: guix/guix#5892
Change-Id: I153a0c7b2a1d8fac6402dd75f31edfc6ec4a7ef8
This commit is contained in:
committed by
Andreas Enge
parent
62d5d727ba
commit
1cbafed4bd
@@ -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,9 @@ in the @url{https://schema.org/Recipe} format.")
|
||||
#~(list "--ignore-glob=gourmet/tests/**/*.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'configure-tests
|
||||
(add-before 'build 'set-environemnt
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp") ;needed by tests
|
||||
(setenv "HOME" "/tmp")
|
||||
(system "Xvfb &")
|
||||
(setenv "DISPLAY" ":0")))
|
||||
(add-after 'install 'install-dekstop-file-and-icons
|
||||
|
||||
Reference in New Issue
Block a user