-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This crate fails on NixOS due to the error below. I believe this is due to this crate hardcoding the pkexec path as /bin/pkexec. NixOS uses the path /run/wrappers/bin/pkexec instead.
I'm not sure how other apps handle this, but all other apps on my system can find pkexec on NixOS without issue. A hacky solution would be check /bin/pkexec first, and then use /run/wrappers/bin/pkexec as a fallback.
Here is the error code when using the crate:
called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)
Metadata
Metadata
Assignees
Labels
No labels