From 39b0b8452f79e710b65b363663491fc17bb04a25 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 --- 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 88502fe2d..f5444b44a 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 d2b512959c00e487c4858a6c4bd53dc9db0bf0d6 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 --- 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 f5444b44a..27a454b27 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)