[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about im-config

From: Danny Milosavljevic
Subject: Re: A question about im-config
Date: Sun, 22 Jan 2017 02:15:26 +0100

Hi tumashu,

On Sun, 22 Jan 2017 08:57:49 +0800 (CST)
tumashu <address@hidden> wrote:

> Im-config ( is a 
> shell script which
> used to manager input method by debian, I want to package it to guixsd, but 
> many problem I faced:
> 1.  How to deal with "/usr/bin/XXX" in schell script, for example: 
> /usr/bin/fcitx, /usr/bin/ibux ....
> 2.  How to deal with "
> /usr/lib/*/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.
> "

Please substitute paths by store paths. The intention is to make sure that 
im-config always keeps doing the same thing every time it is invoked.

To do that you can add a phase by:

   (modify-phases %standard-phases
     (add-after 'unpack 'patch-paths
       (lambda* (#:key inputs outputs #:allow-other-keys)
         (substitute* "im-config"
           (("/usr/bin/fcitx") (string-append (assoc-ref inputs "fcitx") 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]