gnu: flatpak: Use glib-or-gtk-build-system.

This wraps 'flatpak' such that GIO_EXTRA_MODULES is set, thereby
allowing GIO (part of GLib) to find the GnuTLS-based TLS backend that
glib-networking provides.

Fixes <https://bugs.gnu.org/34861>.
Reported by Raghav Gururajan <rvgn@disroot.org>.

* gnu/packages/package-management.scm (flatpak)[build-system]: Change to
GLIB-OR-GTK-BUILD-SYSTEM.
This commit is contained in:
Ludovic Courtès 2019-03-24 22:26:50 +01:00
parent 37f6289605
commit 16360cc884
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 1 deletions

View File

@ -78,6 +78,7 @@
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@ -1018,7 +1019,11 @@ the bootloader configuration.")
(sha256
(base32
"0i0dn3w3545lvmjlzqj3j70lk8yrq64r9frp1rk6a161gwq20ixv"))))
(build-system gnu-build-system)
;; Wrap 'flatpak' so that GIO_EXTRA_MODULES is set, thereby allowing GIO to
;; find the TLS backend in glib-networking.
(build-system glib-or-gtk-build-system)
(arguments
'(#:tests? #f ;; Tests fail due to trying to create files where it can't.
#:configure-flags (list