Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cbuild subcommand to get template dependencies #2852

Open
triallax opened this issue Sep 4, 2024 · 1 comment
Open

Add cbuild subcommand to get template dependencies #2852

triallax opened this issue Sep 4, 2024 · 1 comment

Comments

@triallax
Copy link
Contributor

triallax commented Sep 4, 2024

sometimes i want to do some work on a package outside of cbuild, in which case i'd like to install the package dependencies (all of *depends basically) in my host system, which can be annoying because of the extra double quotes and commas and stuff, particularly for stuff with many deps like gk4

so it would be nice if cbuild had a subcommand e.g. print-deps which would print a space/newline-separated list of dependencies; then for my particular use case i can use doas apk add -- $(./cbuild main/gtk4 print-deps) to install gtk4's dependencies in my host system

maybe this could be generalised as well to e.g. configure args, but i don't have anything concrete in mind for that

@triallax
Copy link
Contributor Author

triallax commented Sep 4, 2024

hm actually, virtual packages would introduce a slight complication here because they can't be passed to apk as-is

for these we can maybe use the package after the ! or something, idk

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

No branches or pull requests

1 participant