On Thu Sep 17, 2026 at 9:20 AM -05, Amrit wrote:

> I wanted to ask if it's possible upstream the wayland build configuration
> without the docs.

Assuming you mean this wayland package

https://hpc.guix.info/package/wayland

Then yes, looking at their meson options it seems we can disable building
the book, which is what requires mdbook with the book option.

https://gitlab.freedesktop.org/wayland/wayland/-/blob/381af21cf84f13be0ca24aed756a9cded3290d49/meson_options.txt#L13

I'm not familiar with meson or the meson-build system but it seems that
you should be able to disable the documentation option by passing

#:configure-flags (list "-Dbook=false")

You can find more information about the meson-build-system at

https://guix.gnu.org/manual/devel/en/html_node/Build-Systems.html#index-meson_002dbuild_002dsystem

> If not, are there any guides on how to package cargo crates?

Yes, The guix cookbook has a walkthrough

https://guix.gnu.org/cookbook/en/guix-cookbook.html#Packaging-Rust-Crates

Hope that helps,
Javier


Reply via email to