Stop using nix to build lix-doc #256

Closed
opened 2024-04-30 21:53:34 +00:00 by jade · 4 comments
Owner

We have meson, let's make our rust stuff not make our downstreams cry unnecessarily if possible.

We have meson, let's make our rust stuff not make our downstreams cry unnecessarily if possible.
jade added the
devx
label 2024-04-30 21:53:34 +00:00
lunaphied was assigned by jade 2024-04-30 21:53:34 +00:00
Author
Owner

note: this may be blocked on meson being bad.

from lily:

meson doesn't use cargo at all, it reimplements cargo (and gstreamer couldn't use meson's native rustc support upstream because they were using cargo workspaces and meson's cargo support was still wip)

this exists and is best described as a joke until someone writes code generation tooling for this stuff: https://coaxion.net/blog/2023/04/building-a-gstreamer-plugin-in-rust-with-meson-instead-of-cargo/

it's also possible to use cargo with meson, but that is also painful and may suck for downstreams anyway due to cargo vendoring. jade sighs

note: this may be blocked on meson being bad. from lily: > meson doesn't use cargo at all, it reimplements cargo (and gstreamer couldn't use meson's native rustc support upstream because they were using cargo workspaces and meson's cargo support was still wip) this exists and is best described as a joke until someone writes code generation tooling for this stuff: https://coaxion.net/blog/2023/04/building-a-gstreamer-plugin-in-rust-with-meson-instead-of-cargo/ it's also possible to use cargo with meson, but that is also painful and may suck for downstreams anyway due to cargo vendoring. *jade sighs*
Owner

We plan on making Lix reasonable to build without Nix in general. We will make this work, at some point

We plan on making Lix reasonable to build without Nix in *general*. We *will* make this work, at some point
qyriad self-assigned this 2024-07-21 19:51:28 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/1656 ("build: build lix-doc with Meson! 🎉")
  • comment in cl/1656 ("build: build lix-doc with Meson! 🎉")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/1656", "number": 1656, "kind": "commit message"}, {"backlink": "https://gerrit.lix.systems/c/lix/+/1656", "number": 1656, "kind": "comment"}], "cl_meta": {"1656": {"change_title": "build: build lix-doc with Meson! \ud83c\udf89"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/1656](https://gerrit.lix.systems/c/lix/+/1656) ("build: build lix-doc with Meson! 🎉") * comment in [cl/1656](https://gerrit.lix.systems/c/lix/+/1656) ("build: build lix-doc with Meson! 🎉")
Owner

This turned out to be a lot easier than we expected! Most of the difficulty was from Meson's docs being bad

This turned out to be a lot easier than we expected! Most of the difficulty was from Meson's docs being bad
Sign in to join this conversation.
No milestone
No project
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#256
No description provided.