cinnamon.cinnamon-common: Fix settings theme thumbnail path

We look for globally installed themes with this path, so we use
/run/current-system/sw/share.
This commit is contained in:
Bobby Rong 2022-12-24 21:45:48 +08:00
parent 88d78542ad
commit d5510e9e9e
No known key found for this signature in database

View file

@ -151,6 +151,8 @@ stdenv.mkDerivation rec {
sed "s|/usr/share/sounds|/run/current-system/sw/share/sounds|g" -i ./files/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py
sed "s|/usr/share/%s|/run/current-system/sw/share/%s|g" -i ./files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py
sed "s|\"upload-system-info\"|\"${xapp}/bin/upload-system-info\"|g" -i ./files/usr/share/cinnamon/cinnamon-settings/modules/cs_info.py
sed "s|/usr/bin/cinnamon-screensaver-command|/run/current-system/sw/bin/cinnamon-screensaver-command|g" \