From 75d0ed8902cc9e85b3e9f3385cd1f3b23c2d72c2 Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Sun, 13 Apr 2025 20:42:19 -0500 Subject: [PATCH] update nextcloud --- gchannel/packages/nextcloud-client.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gchannel/packages/nextcloud-client.scm b/gchannel/packages/nextcloud-client.scm index 07a05a7..ed0c1e9 100644 --- a/gchannel/packages/nextcloud-client.scm +++ b/gchannel/packages/nextcloud-client.scm @@ -158,7 +158,17 @@ (add-after 'install 'glib-or-gtk-compile-schemas (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap - (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))))) + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) + (add-after 'qt-wrap 'qpa-platform + (lambda _ + ;; Use sed to insert the QT_QPA_PLATFORM environment variable in our wrap-program + ;;(system* "ls" "-a") + ;;sed command is valid, but the path for output is not right now + ;;I believe it must be bound at some point like through the ingestion of this command in the lambda statement + (system* "sed" "-i" "/^export XDG_DATA_DIRS=/i export QT_QPA_PLATFORM=xcb" (string-append #$output "/bin/nextcloud")) + #t + )) + ))) (native-inputs `(("cmocka" ,cmocka) ("dot" ,graphviz)