From 0d8e2679a517a43b1411a3e799ef61457812ea14 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Sun, 17 Mar 2024 06:13:14 +0800 Subject: [PATCH 1/2] doc: builtins.addDrvOutputDependencies: fix link target (cherry picked from commit 39b0b8452f79e710b65b363663491fc17bb04a25) --- src/libexpr/primops/context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/primops/context.cc b/src/libexpr/primops/context.cc index 1eec8b316..ca17ff0cf 100644 --- a/src/libexpr/primops/context.cc +++ b/src/libexpr/primops/context.cc @@ -144,7 +144,7 @@ static RegisterPrimOp primop_addDrvOutputDependencies({ The original string context element must not be empty or have multiple elements, and it must not have any other type of element other than a constant or derivation deep element. The latter is supported so this function is idempotent. - This is the opposite of [`builtins.unsafeDiscardOutputDependency`](#builtins-addDrvOutputDependencies). + This is the opposite of [`builtins.unsafeDiscardOutputDependency`](#builtins-unsafeDiscardOutputDependency). )", .fun = prim_addDrvOutputDependencies }); From 4e9c7e7a3db0b9360d15db421db3a922ccd7161c Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Mon, 18 Mar 2024 02:38:31 +0800 Subject: [PATCH 2/2] builtins.addDrvOutputDependencies: fix commentary (cherry picked from commit d2b512959c00e487c4858a6c4bd53dc9db0bf0d6) --- src/libexpr/primops/context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/primops/context.cc b/src/libexpr/primops/context.cc index ca17ff0cf..146257f72 100644 --- a/src/libexpr/primops/context.cc +++ b/src/libexpr/primops/context.cc @@ -246,7 +246,7 @@ static RegisterPrimOp primop_getContext({ /* Append the given context to a given string. - See the commentary above unsafeGetContext for details of the + See the commentary above getContext for details of the context representation. */ static void prim_appendContext(EvalState & state, const PosIdx pos, Value * * args, Value & v)