summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2025-02-27 20:03:49 +0800
committerHilton Chain <hako@ultrarare.space>2025-08-21 19:08:19 +0800
commit5494343bfc80521339ca69199e48124f1fd313ca (patch)
tree7e37d645b8a493a7a6fe20d39f52129a52074b86 /doc
parent878bdd7fb62cf2879667bb2de06c11db1166f26e (diff)
build-system: cargo: Support installing Cargo workspace.
*guix/build-system/cargo.scm (cargo-build, cargo-cross-build) [#:cargo-install-paths]: New argument. * guix/build/cargo-build-system.scm (install): Use it. * doc/guix.texi (Build Systems)[cargo-build-system]: Document it. Change-Id: I74ed1972a5716da05afeac8edb2b0e4b6834bf40
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 5648f96f24a..b2d58af8473 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9582,7 +9582,10 @@ This build system supports cargo workspaces. Parameter
9582library crates to package in the @code{package} phase. Specified crates are 9582library crates to package in the @code{package} phase. Specified crates are
9583packaged from left to right, in case there's dependency among them. For 9583packaged from left to right, in case there's dependency among them. For
9584example, specifying @code{''("pcre2-sys" "pcre2")} will package 9584example, specifying @code{''("pcre2-sys" "pcre2")} will package
9585@code{"pcre2-sys"} first and then @code{"pcre2"}. 9585@code{"pcre2-sys"} first and then @code{"pcre2"}. Parameter
9586@code{#:cargo-install-paths} (default: @code{''()}) allows specifying paths of
9587binary crates to install in the @code{install} phase, @code{''("crates/atuin")},
9588for example.
9586@end defvar 9589@end defvar
9587 9590
9588@defvar chicken-build-system 9591@defvar chicken-build-system