mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: webkitgtk: Fix bubblewrap.
* gnu/packages/webkit.scm (webkitgtk) [arguments]<#:phases>['configure-bubblewrap]: New phase. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
parent
19368c17c3
commit
7341dee7f9
1 changed files with 9 additions and 0 deletions
|
@ -265,6 +265,15 @@ (define-public webkitgtk
|
|||
"/xml/dtd/docbook/docbookx.dtd"))))
|
||||
(find-files "Source" "\\.sgml$"))
|
||||
#t))
|
||||
(add-before 'configure 'configure-bubblewrap
|
||||
(lambda _
|
||||
;; This phase is a corollary to 'webkitgtk-share-store.patch' to
|
||||
;; avoid hard coding /gnu/store, for users with other prefixes.
|
||||
(let ((store-directory (%store-directory)))
|
||||
(substitute*
|
||||
"Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp"
|
||||
(("@storedir@") store-directory))
|
||||
#t)))
|
||||
(add-after 'install 'move-doc-files
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue