about summary refs log tree commit diff
path: root/scripts/example-matrix.py
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2026-11-27 11:55:11 +0000
committerPjotr Prins <pjotr.public01@thebird.nl>2026-11-27 11:55:11 +0000
commit8f7afb1930def16d2fc2fb0493070c8296f840cd (patch)
tree3ace2b85590acc1f1b345ccf08a88aaf1370b570 /scripts/example-matrix.py
parentcd9f46633bcc55ab2a72cda1a0f1a667e79c2e57 (diff)
downloadgenenetwork4-8f7afb1930def16d2fc2fb0493070c8296f840cd.tar.gz
guix: vendor the extracted search engine, so a store build can link it
The branch adds gn-search-engine as a git dependency; a store build has no
network, so `cargo build --offline' stopped at "can't checkout from
https://github.com/Alexanderlacuna/gn-search".

gn-search is a workspace (crates/engine, crates/schema, crates/indexer),
which the two existing git dependencies here are not, so this is a little
more than another stanza: the checkout is fetched once, and 'vendor-gn-search
flattens the two crates GN4 links into standalone vendored directories --
writing out the `version.workspace = true' inheritance a directory source
cannot resolve -- then a second phase points the git source at them.

One lock rewrite has to be allowed, and --offline is what makes it safe:
gn-search-schema is a path dependency inside the workspace, which cargo
records under the git source, while a vendored directory can only be found
by name and version. The first resolve moves that one line to the registry
source, resolved entirely against guix-vendor; 'install still runs --locked.
Diffstat (limited to 'scripts/example-matrix.py')
0 files changed, 0 insertions, 0 deletions