nixpkgs/pkgs/desktops/cinnamon/nemo
Bobby Rong 8eefcdc9e9
cinnamon.nemo: Fix open as root
Open as root support is added in src/nemo-view.c as `pkexec nemo`.
This does not match the full path in `org.nemo.root.policy` so it
doesn't work.

Replacing with `/run/current-system/sw/bin/nemo` seems to be the
easiest solution here, otherwise to properly support nemo-with-extensions,
we likely need to patch everything that calls `pkexec nemo` to accept
external environment variables for nemo path, and pass the path via
wrapper, and we still need to substitute `org.nemo.root.policy` in
nemo-with-extensions.
2024-03-22 00:34:11 +08:00
..
default.nix cinnamon.nemo: Fix open as root 2024-03-22 00:34:11 +08:00
load-extensions-from-env.patch
wrapper.nix