renatosilva / pactoys

A set of pacman packaging utilities.
Other
12 stars 6 forks source link

handle empty `MINGW_PACKAGE_PREFIX` for `:p` #6

Closed goyalyashpal closed 3 months ago

goyalyashpal commented 1 year ago

Originally posted by @me in https://github.com/msys2/MSYS2-packages/issues/3457#issuecomment-1368406689

Summary of problem

Reason being:

Proposed solution

Something like:

The variable `MINGW_PACKAGE_PREFIX` is not set.

Suggestions:
    - Launch shell in a different environment (i.e. use a different launcher)
    - Specify the command for a particular package prefix

See `pacboy help` for usage instructions.

Console logs

$ pacboy sync debug helix:p
:: Executing pacman --color auto --sync -helix...
usage:  pacman {-S --sync} [options] [package(s)]
options:
  -b, --dbpath <path>  set an alternate database location

... MORE ...
$ pacboy sync debug helix:u
:: Executing pacman --color auto --sync mingw-w64-ucrt-x86_64-helix...
resolving dependencies...
looking for conflicting packages...

... MORE ...

Envrionment

lazka commented 4 months ago

Fixed via https://github.com/msys2/pactoys/pull/5