fix qt-wrap phase
This commit is contained in:
@@ -159,15 +159,13 @@
|
|||||||
(assoc-ref glib-or-gtk:%standard-phases '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
|
(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
|
(add-after 'qt-wrap 'qpa-platform
|
||||||
(lambda _
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Use sed to insert the QT_QPA_PLATFORM environment variable in our wrap-program
|
(let ((out (assoc-ref outputs "out")))
|
||||||
;;(system* "ls" "-a")
|
(system* "sed" "-i"
|
||||||
;;sed command is valid, but the path for output is not right now
|
"/^export XDG_DATA_DIRS=/i export QT_QPA_PLATFORM=xcb"
|
||||||
;;I believe it must be bound at some point like through the ingestion of this command in the lambda statement
|
(string-append out "/bin/nextcloud"))
|
||||||
(system* "sed" "-i" "/^export XDG_DATA_DIRS=/i export QT_QPA_PLATFORM=xcb" (string-append #$output "/bin/nextcloud"))
|
#t)))
|
||||||
#t
|
|
||||||
))
|
|
||||||
)))
|
)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("cmocka" ,cmocka)
|
`(("cmocka" ,cmocka)
|
||||||
|
|||||||
Reference in New Issue
Block a user