Skip to content

feat(cli): add pacman silent install source - #850

Open
marmitar wants to merge 1 commit into
modem-dev:mainfrom
marmitar:feat/pacman-install-source
Open

feat(cli): add pacman silent install source#850
marmitar wants to merge 1 commit into
modem-dev:mainfrom
marmitar:feat/pacman-install-source

Conversation

@marmitar

Copy link
Copy Markdown

No runtime detection for pacman, since different AUR packages may install binaries at different locations (/opt, /usr/bin, /usr/lib). Only viable detection is pacman -Qo ${executablePath} or something like rg ${executablePath} /var/lib/pacman/local/*/files.

Both cases could affect startup time, so pacman is only available via the HUNK_INSTALL_SOURCE environment variable. Either bundled with --env "HUNK_INSTALL_SOURCE*" or set at runtime from a custom wrapper.

Because of how pacman packages are managed, no update notices or specific update instructions should be shown.

No runtime detection for pacman, since different AUR packages may
install binaries at different locations (/opt, /usr/bin, /usr/lib).
Only viable detection is 'pacman -Qo ${executablePath}' or something
like 'rg ${executablePath} /var/lib/pacman/local/*/files'.

Both cases could affect startup time, so pacman is only available via
the 'HUNK_INSTALL_SOURCE' environment variable. Either bundled with
'--env "HUNK_INSTALL_SOURCE*"' or set at runtime from a custom wrapper.

Because of how pacman packages are managed, no update notices or
specific update instructions should be shown.
@greptile-apps

greptile-apps Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

@marmitar is attempting to deploy a commit to the Modem Team on Vercel.

A member of the Team first needs to authorize it.

@marmitar

marmitar commented Aug 25, 2026

Copy link
Copy Markdown
Author

Sorry, forgot to mention. I maintain the AUR package hunk and I plan on using it there. I'm using HUNK_INSTALL_SOURCE=mise, but the message don't really make sense there.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant