lix/src/lix-doc
jade 651cc0e5b4 fix: build with meson 1.5 also
nixpkgs delivered us the untimely gift of a meson 1.5 upgrade, which
*does* make our lives easier by allowing us to delete wrap generation
code, but it does so at the cost of renaming all rust crates in such a
way that the wrap logic cannot tolerate the new names on the old meson
version 😭.

It also means that support burden for this is going to be atrocious
until we either give in and vendor meson 1.5 or we make a CI target for
it. Neither seems appealing, though the latter is not super absurd for
ensuring we don't break nixpkgs unstable.

This commit causes meson 1.5 to ignore the .wrap files in subprojects/
entirely (since they have the wrong names lol) and instead use
Cargo.lock, so it now hard-depends on our workspace reshuffling
improvement.

It also deletes the hack that we were using to get the sources of Cargo
deps into meson by using a feature that went unnoticed when this code
was originally written: MESON_PACKAGE_CACHE_DIR:
8a202de6ec/mesonbuild/wrap/wrap.py (L490-L502)

Change-Id: I7a28f12fc2812c6ed7537b60bc3025c141a05874
2024-08-21 17:09:10 +00:00
..
src lix-doc: move under src/ 2024-08-20 13:38:46 -06:00
.gitignore lix-doc: move under src/ 2024-08-20 13:38:46 -06:00
Cargo.toml build: move to a Cargo workspace 2024-08-21 17:09:10 +00:00
meson.build fix: build with meson 1.5 also 2024-08-21 17:09:10 +00:00
package.nix lix-doc: move under src/ 2024-08-20 13:38:46 -06:00
README.md lix-doc: move under src/ 2024-08-20 13:38:46 -06:00

lix-doc

This is a stripped down fork of nix-doc, used for :doc in nix repl in Lix. It will be replaced in the future with proper support when we get the new parser working, but it exists today as a low-risk implementation of an important usability feature.