From 1b043aeb856b23f74f43b7bff3cf52bc630e1e84 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 29 May 2018 23:17:02 +0200 Subject: gnu: python2-pygobject: Add native-inputs. * gnu/packages/glib.scm (python2-pygobject)[native-inputs]: New field. --- gnu/packages/glib.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gnu/packages/glib.scm') diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index e96b8df24e..958a8218a0 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -643,7 +643,18 @@ useful for C++.") (inputs `(("python" ,python-2) ("python-pycairo" ,python2-pycairo) - ("gobject-introspection" ,gobject-introspection))))) + ("gobject-introspection" ,gobject-introspection))) + (native-inputs + `(;; Use gcc-7 to work around an internal compiler error that happens + ;; when using gcc-5.5.0. FIXME: Try removing this when the default + ;; compiler is no longer gcc-5.5.0. + ("gcc" ,gcc-7) + ("which" ,which) + ;for tests: dbus-run-session and glib-compile-schemas + ("dbus" ,dbus) + ("glib-bin" ,glib "bin") + ("pkg-config" ,pkg-config) + ("python-pytest" ,python2-pytest))))) (define-public perl-glib (package -- cgit v1.2.3