cinnamon.cinnamon-settings-daemon: use cinnamon-translations
This commit is contained in:
parent
77c27b6715
commit
4a36512431
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{ fetchFromGitHub
|
||||
, cinnamon-desktop
|
||||
, cinnamon-translations
|
||||
, colord
|
||||
, glib
|
||||
, gsettings-desktop-schemas
|
||||
|
@ -104,6 +105,11 @@ stdenv.mkDerivation rec {
|
|||
sed "s|/usr/share/zoneinfo|${tzdata}/share/zoneinfo|g" -i plugins/datetime/system-timezone.h
|
||||
'';
|
||||
|
||||
# use locales from cinnamon-translations (not using --localedir because datadir is used)
|
||||
postInstall = ''
|
||||
ln -s ${cinnamon-translations}/share/locale $out/share/locale
|
||||
'';
|
||||
|
||||
# So the polkit policy can reference /run/current-system/sw/bin/cinnamon-settings-daemon/csd-backlight-helper
|
||||
postFixup = ''
|
||||
mkdir -p $out/bin/cinnamon-settings-daemon
|
||||
|
|
Loading…
Reference in a new issue