Skip to content

pineflash doesn't find binaries (pkexec) because it overrides the PATH variable #89

@nydragon

Description

@nydragon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions