docs(nix-compat/drvfmt): fix reference
Change-Id: Ic0403e028cc968bef4023ef78dbfa0d502da90b0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10396 Reviewed-by: edef <edef@edef.eu> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
8c83838c40
commit
1c3ea9d83d
1 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ use serde_json::json;
|
||||||
/// Some environment values can be non-valid UTF-8 strings.
|
/// Some environment values can be non-valid UTF-8 strings.
|
||||||
/// `serde_json` prints them out really unreadable.
|
/// `serde_json` prints them out really unreadable.
|
||||||
/// This is a tool to print A-Terms in a more readable fashion, so we brutally
|
/// This is a tool to print A-Terms in a more readable fashion, so we brutally
|
||||||
/// use [BString::to_string] to get a UTF-8 string (replacing invalid characters
|
/// use the [std::string::ToString] implementation of [bstr::BString] to get
|
||||||
/// with the Unicode replacement codepoint).
|
/// a UTF-8 string (replacing invalid characters with the Unicode replacement
|
||||||
|
/// codepoint).
|
||||||
fn build_serde_json_value(drv: Derivation) -> serde_json::Value {
|
fn build_serde_json_value(drv: Derivation) -> serde_json::Value {
|
||||||
json!({
|
json!({
|
||||||
"args": drv.arguments,
|
"args": drv.arguments,
|
||||||
|
|
Loading…
Reference in a new issue