diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-12-24 21:45:48 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-12-24 23:03:12 +0800 |
commit | d5510e9e9e3e9db3d35fea2af012c76d6af1c173 (patch) | |
tree | b1a1ce85af7103209662175518673dcce2ab8bf4 /pkgs/desktops/cinnamon/cinnamon-common | |
parent | 88d78542ad6e3cf01d9c5fd7db84972768f8bcbe (diff) | |
download | nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.tar nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.tar.gz nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.tar.bz2 nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.tar.lz nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.tar.xz nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.tar.zst nixpkgs-d5510e9e9e3e9db3d35fea2af012c76d6af1c173.zip |
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.
Diffstat (limited to 'pkgs/desktops/cinnamon/cinnamon-common')
-rw-r--r-- | pkgs/desktops/cinnamon/cinnamon-common/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/cinnamon-common/default.nix b/pkgs/desktops/cinnamon/cinnamon-common/default.nix index 99df4160532..c0c63675cb5 100644 --- a/pkgs/desktops/cinnamon/cinnamon-common/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-common/default.nix @@ -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" \ |