build-system: cargo: Use the correct guile-json when cross-compiling.

* guix/build-system/cargo.scm (cargo-cross-build): Use the defined
cargo-guile-json as the guile-json implementation.

Reported-by: Christopher Baines <mail@cbaines.net>
Change-Id: I270024c07eb8fff452b7671d7d45fbe37300f54d
This commit is contained in:
Efraim Flashner 2026-01-05 11:47:51 +02:00
parent 8f940ef48d
commit 35fee4fd2e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -228,7 +228,7 @@ unavailable."
(native-search-paths '())
(system (%current-system))
(guile #f)
(guile-json (default-guile-json))
(guile-json (cargo-guile-json))
(imported-modules %cargo-build-system-modules)
(modules '((guix build cargo-build-system)
(guix build utils))))