From a29ca0ec205210ff208c5f00d6a5b9d3413f4287 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 15 Aug 2022 20:23:32 +0800 Subject: [PATCH] cinnamon.cinnamon-common: fix msgfmt path for Spices.py Closes #168924 --- pkgs/desktops/cinnamon/cinnamon-common/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/desktops/cinnamon/cinnamon-common/default.nix b/pkgs/desktops/cinnamon/cinnamon-common/default.nix index d1db0f8a25ec..efe46904ff96 100644 --- a/pkgs/desktops/cinnamon/cinnamon-common/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-common/default.nix @@ -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 '';