summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-01-08 11:26:08 +0800
committerBobby Rong <rjl931189261@126.com>2023-01-08 11:26:32 +0800
commit2cdd4df89958e90aa0fef168dd62abb24b7c4cf4 (patch)
tree181cb3753419384af7c142cf686d302e51f772ab /pkgs/desktops
parentc90f3e3dee6abb048fe0dda62ddc90a852fa0b14 (diff)
downloadnixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.tar
nixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.tar.gz
nixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.tar.bz2
nixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.tar.lz
nixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.tar.xz
nixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.tar.zst
nixpkgs-2cdd4df89958e90aa0fef168dd62abb24b7c4cf4.zip
cinnamon.nemo-with-extensions: Fix duplicate right-click menu items
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/cinnamon/nemo/wrapper.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/nemo/wrapper.nix b/pkgs/desktops/cinnamon/nemo/wrapper.nix
index 7f7633d19a8..604247566b8 100644
--- a/pkgs/desktops/cinnamon/nemo/wrapper.nix
+++ b/pkgs/desktops/cinnamon/nemo/wrapper.nix
@@ -24,6 +24,10 @@ symlinkJoin {
         --set "NEMO_PYTHON_EXTENSION_DIR" "$out/share/nemo-python/extensions"
     done
 
+    # Don't populate the same nemo actions twice when having this globally installed
+    # https://github.com/NixOS/nixpkgs/issues/190781#issuecomment-1365601853
+    rm -r $out/share/nemo/actions
+
     # Point to wrapped binary in all service files
     for file in "share/dbus-1/services/nemo.FileManager1.service" \
       "share/dbus-1/services/nemo.service"