gnu: gnome-shell: Store absolute file name of 'ibus-daemon'.

* gnu/packages/gnome.scm (gnome-shell)[arguments]: Add
'record-absolute-file-names' phase.
This commit is contained in:
Ludovic Courtès 2019-04-01 23:00:11 +02:00
parent 0e55864036
commit 2472cdec25
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 0 deletions

View File

@ -5764,6 +5764,13 @@ properties, screen resolution, and other GNOME parameters.")
;; Convert the logo from SVG to PNG. ;; Convert the logo from SVG to PNG.
(invoke "inkscape" "--export-png=data/theme/guix-logo.png" (invoke "inkscape" "--export-png=data/theme/guix-logo.png"
"data/theme/guix-logo.svg"))) "data/theme/guix-logo.svg")))
(add-before 'build 'record-absolute-file-names
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "js/misc/ibusManager.js"
(("'ibus-daemon'")
(string-append "'" (assoc-ref inputs "ibus")
"/bin/ibus-daemon'")))
#t))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))