From 8759a962a4753dd6e20f21696622db73527db5ed Mon Sep 17 00:00:00 2001 From: Aleksana Date: Wed, 4 Dec 2024 14:18:18 +0800 Subject: [PATCH] Update doc/languages-frameworks/rust.section.md --- doc/languages-frameworks/rust.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 0cd8c56baed54..0ba7d900a5e47 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -399,7 +399,7 @@ Some packages may use custom scripts for building/installing, e.g. with a `Makef In these cases, it's recommended to override the `buildPhase`/`installPhase`/`checkPhase`. Otherwise, some steps may fail because of the modified directory structure of `target/`. -If you want to run targets from a `Makefile`, instead of overriding the phases, +If you want to run hooks from other build systems, instead of overriding the phases, you can set `dontCargoBuild`/`dontCargoInstall`/`dontCargoCheck` to `true` to use the [default phases from `stdenv`](#sec-stdenv-phases), which execute make targets and can be controlled by various variables in the derivation.