>From 3d6f3da4e8a216ed435777f0a038fc90911503a7 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 20 Feb 2017 18:29:28 -0800 Subject: [PATCH] gnu: gnucash: Propagate dbus and dconf. This ensures that a GSettings backend is present; this is necessary to persist the GnuCash settings and state. * gnu/packages/gnucash.scm (gnucash)[propagated-inputs]: Add dbus and dconf. [phases]: Define HOME, which prevents multiple warnings at build time. --- gnu/packages/gnucash.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index ac2dce576..c421df80d 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -70,12 +70,19 @@ `(("glib" ,glib "bin") ; glib-compile-schemas, etc. ("intltool" ,intltool) ("pkg-config" ,pkg-config))) + (propagated-inputs + `(("dbus" ,dbus) ;enable gsettings preference backend + ("dconf" ,dconf))) ;likewise (arguments `(#:tests? #f ;FIXME: failing at /qof/gnc-date/qof print date dmy buff #:configure-flags '("--disable-dbi" "--enable-aqbanking") #:phases (modify-phases %standard-phases + ;; Avoid build time warnings by setting $HOME. + (add-before 'build 'set-home + (lambda _ + (setenv "HOME" (getenv "TMPDIR")))) (add-after 'install 'wrap-programs (lambda* (#:key inputs outputs #:allow-other-keys) -- 2.14.1