Skip to content

Windows: Order of MSYS2 dirs on PATH in Stack environment #6919

@mpilgrem

Description

@mpilgrem

The Stack-supplied MSYS2 does not come with a usr/local/bin directory by default but Stack puts it on the PATH in the Stack environment, after MSYS2's usr/bin directory.

I understand that a Unix-like convention is usr/bin for 'system-provided' executables and usr/local/bin for 'user-provided' executables and the latter usually is prioritised over the former on the PATH (so that a user can 'override' what is system-provided, if they wish).

Consequently, I am thinking of switching Stack's historical ordering. I reason that almost nobody would be affected by that switch which would, of course, be documented for users.

See:

which do not document a basis for the order introduced.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions