mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-26 19:11:46 +02:00
gnu: aacircuit: Fix build.
* gnu/packages/electronics.scm (aacircuit)
[phases]{set-home-env}: New phase.
{check}: Move setting HOME to {set-home-env} phase.
Relates-to: guix/guix#5892
Change-Id: I09e1e00d0ed4844a6a275c31fe47aeab76f7c7f3
This commit is contained in:
committed by
Andreas Enge
parent
c7a29fe75c
commit
b3f61f6253
@@ -166,6 +166,9 @@
|
||||
(add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
|
||||
(assoc-ref glib-or-gtk:%standard-phases
|
||||
'generate-gdk-pixbuf-loaders-cache-file))
|
||||
(add-before 'build 'set-home-env
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
@@ -176,7 +179,6 @@
|
||||
(string-join '("test_export_pdf"
|
||||
"test_import_aacircuit_export_pdf")
|
||||
","))
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "xvfb-run" "./testrunner.sh"))))
|
||||
(add-after 'wrap 'glib-or-gtk-wrap
|
||||
(assoc-ref glib-or-gtk:%standard-phases
|
||||
|
||||
Reference in New Issue
Block a user