Hardcoding the PATH makes Command unable to find the pkexec binary on NixOS:
|
.env("PATH", "/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:linux") |
Removing this line (82605e4) fixes the issue, and as the hardcoded values are already contained in PATH by default, removing it should not break anything on other distros.
Can submit a PR if wished.