diff options
author | linj <linj.dev@outlook.com> | 2022-06-08 16:33:58 +0800 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-06-08 18:37:41 +0200 |
commit | 5c641b41392090e2c3462a48aeb8d516b212c9c3 (patch) | |
tree | 70ad87bf733f85acd47f93ba19a06a5ebb92a955 /pkgs | |
parent | 8ce001f6a262382c474dd503129aab5098e4a7d6 (diff) |
ibus: patch sh to runtimeShell in ExecStart of systemd service
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/inputmethods/ibus/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/ibus/default.nix b/pkgs/tools/inputmethods/ibus/default.nix index a791e90a93c43..3bcb5d01cf49e 100644 --- a/pkgs/tools/inputmethods/ibus/default.nix +++ b/pkgs/tools/inputmethods/ibus/default.nix @@ -90,6 +90,8 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs --build data/dconf/make-dconf-override-db.sh cp ${buildPackages.gtk-doc}/share/gtk-doc/data/gtk-doc.make . + substituteInPlace bus/services/org.freedesktop.IBus.session.GNOME.service.in --replace "ExecStart=sh" "ExecStart=${runtimeShell}" + substituteInPlace bus/services/org.freedesktop.IBus.session.generic.service.in --replace "ExecStart=sh" "ExecStart=${runtimeShell}" ''; preAutoreconf = "touch ChangeLog"; |