From 011db530aa329ac9160441322a6d55e27fe77df2 Mon Sep 17 00:00:00 2001 From: Daniel Meißner Date: Wed, 16 Jun 2021 14:16:10 +0200 Subject: gnu: owncloud-client: Fix sysconfdir path Somehow sysconfdir was not set correctly so that owncloud searched for sync-exclude.lst in the relative path etc/ownCloud/sync-exclude.lst instead of the /gnu/store/...-owncloud-client/etc/ownCloud/sync-exclude.lst. * gnu/packages/sync.scm(owncloud-client): Add -DSYSCONF_INSTALL_DIR flag to configure flags. Signed-off-by: Liliana Marie Prikler --- gnu/packages/sync.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu/packages/sync.scm') diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index c1c1e7d57c..e9fc913ad5 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -341,10 +341,16 @@ See also: megacmd, the official tool set by MEGA.") (("QCoreApplication::applicationFilePath\\()") "\"owncloud\"")) #t)) (delete 'patch-dot-desktop-files)) - #:configure-flags '("-DUNIT_TESTING=ON" + #:configure-flags `("-DUNIT_TESTING=ON" ;; build without qtwebkit, which causes the ;; package to FTBFS while looking for QWebView. - "-DNO_SHIBBOLETH=1"))) + "-DNO_SHIBBOLETH=1" + ;; Fix sync-exclude.list problem, see + ;; + ;; + ,(string-append "-DSYSCONF_INSTALL_DIR=" + (assoc-ref %outputs "out") + "/etc")))) (native-inputs `(("cmocka" ,cmocka) ("extra-cmake-modules" ,extra-cmake-modules) -- cgit v1.2.3