ibus: patch sh to runtimeShell in ExecStart of systemd service

This commit is contained in:
linj 2022-06-08 16:33:58 +08:00 committed by Jan Tojnar
parent 8ce001f6a2
commit 5c641b4139

View file

@ -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";