cinnamon.cinnamon-common: fix msgfmt path for Spices.py

Closes #168924
This commit is contained in:
Bobby Rong 2022-08-15 20:23:32 +08:00
parent 9c69f307ce
commit a29ca0ec20

View File

@ -11,6 +11,7 @@
, fetchFromGitHub
, fetchpatch
, gdk-pixbuf
, gettext
, libgnomekbd
, glib
, gobject-introspection
@ -178,6 +179,8 @@ stdenv.mkDerivation rec {
sed "s| cinnamon-session| ${cinnamon-session}/bin/cinnamon-session|g" -i ./files/usr/bin/cinnamon-session-cinnamon -i ./files/usr/bin/cinnamon-session-cinnamon2d
sed "s|/usr/bin|$out/bin|g" -i ./files/usr/share/xsessions/cinnamon.desktop ./files/usr/share/xsessions/cinnamon2d.desktop
sed "s|msgfmt|${gettext}/bin/msgfmt|g" -i ./files/usr/share/cinnamon/cinnamon-settings/bin/Spices.py
patchShebangs src/data-to-c.pl
'';