Skip to content

find exectables in path#1707

Open
qbisi wants to merge 1 commit intoMiKTeX:nextfrom
qbisi:path
Open

find exectables in path#1707
qbisi wants to merge 1 commit intoMiKTeX:nextfrom
qbisi:path

Conversation

@qbisi
Copy link

@qbisi qbisi commented Jan 12, 2026

Miktex will search exectables in "GetMyPrefix(true)/bin"
The path evaluate to "/usr/bin" in FHS style linux distribution,
compared to "/nix/store/.../bin" in NixOS.
As a result, miktex will fail to find e.g. 'pkexec','ksudo','gksu'
under /run/wrappers/bin in NixOS.
We fix this by adding the PATH environment variable to exectables' search path.

@github-actions
Copy link

This pull request has been marked as stale due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant