cinnamon.cinnamon-common: stop substituting upload-system-info

We install xapp in environment.systemPackages in the cinnamon module
because most XApps need the icon it provides. As a side effect, we
should have this in PATH. This is really an optional app,
cinnamon-settings handles the situation well when it is missing.
This commit is contained in:
Bobby Rong
2023-01-30 19:50:33 +08:00
parent a0feb36dc5
commit 279fb9d464
@@ -153,8 +153,6 @@ stdenv.mkDerivation rec {
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" \
-i ./files/usr/share/cinnamon/applets/menu@cinnamon.org/applet.js -i ./files/usr/share/cinnamon/applets/user@cinnamon.org/applet.js