Skip to content

find exectables in path#1707

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

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

Conversation

@qbisi
Copy link
Copy Markdown

@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
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

This pull request has been automatically closed due to inactivity.

@github-actions github-actions Bot closed this Mar 22, 2026
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