1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

gnu: nicotine+: Fix build.

* gnu/packages/nicotine.scm (nicotine+) [arguments] {check}: Set $HOME
to a writable location.
[inputs] Replace python-pycairo with gobject-introspection.

Merges guix/guix!7115

Change-Id: I302224d423f9ae1fbc630433cc65ec7c598a01cc
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
Gabriel Wicki
2026-03-13 21:10:08 +01:00
committed by Cayetano Santos
parent 75ea9cb664
commit f8e3115edc

View File

@@ -75,14 +75,16 @@
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; Ensure writable cache directory
(setenv "HOME" "/tmp")
;; Remove test that relies on network access.
(delete-file "pynicotine/tests/unit/test_version.py")
(invoke "xvfb-run" "python" "-m" "unittest")))))))
(inputs (list bash-minimal
gspell
gtk
python-pycairo
python-pygobject
gobject-introspection
libappindicator
python-pytaglib))
(native-inputs (list gettext-minimal python-setuptools xvfb-run))