From 2472cdec25f440802e2c9b2904dd5a9cfce677b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 1 Apr 2019 23:00:11 +0200 Subject: gnu: gnome-shell: Store absolute file name of 'ibus-daemon'. * gnu/packages/gnome.scm (gnome-shell)[arguments]: Add 'record-absolute-file-names' phase. --- gnu/packages/gnome.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a489137669..477a550943 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5764,6 +5764,13 @@ properties, screen resolution, and other GNOME parameters.") ;; Convert the logo from SVG to PNG. (invoke "inkscape" "--export-png=data/theme/guix-logo.png" "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 (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) -- cgit v1.2.3