Skip to content

Document builtins.appendContext #11250

Open
@PkmX

Description

Problem

While trying to string together the lost context due to #2547, I had to look up the argument order of the built-in function appendContext in the source code

The appendContext built-in is also mentioned in the document:

[`builtins.appendContext`] will create a copy of a string, but with additional string context elements.

But it is not documented:

static RegisterPrimOp primop_appendContext({

Proposal

Document the builtins.appendContext.

Checklist

Priorities

Add 👍 to issues you find important.

Metadata

Assignees

No one assigned

    Labels

    documentationlanguageThe Nix expression language; parser, interpreter, primops, evaluation, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions