Repository navigation
Conversation
... with links. It leaks a very small number of C strings, but that's acceptable as they wouldn't get released anyway. When EvalState is done, normally the whole process is done.
edolstra
reviewed
May 19, 2023
| .doc = primOp.doc, | ||
| .doc = | ||
| primOp.experimentalFeature | ||
| ? strdup( |
Member
There was a problem hiding this comment.
Maybe we should just change the type of doc to std::string or BackedStringView, then we don't need hacks like this.
Member
There was a problem hiding this comment.
In 9800c1e I went with the appraoch of just dumping the info in the JSON, and letting the remote side render it.
I think that is generally preferable, but in this case there is also a repl way of viewing the docs, so we would have to do something in two places.
Maybe that's OK --- e.g. I don't know if the repl one supports markdown necessarily, but didn't want to not "come clean" on that caveat :)
6 of 8 tasks
8 tasks
Ericson2314
added a commit
that referenced
this pull request
Jun 16, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Valentin Gagarin <[email protected]>
Member
Ericson2314
added a commit
that referenced
this pull request
Jun 19, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 19, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 19, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 19, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 19, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 21, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 21, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 21, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 21, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 22, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 22, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 22, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 22, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 23, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 27, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 27, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
Ericson2314
added a commit
that referenced
this pull request
Jun 27, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR #8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
iFreilicht
pushed a commit
to iFreilicht/nix
that referenced
this pull request
Jul 2, 2023
This is done in roughly the same way builtin functions are documented. Also auto-link experimental features for primops, subsuming PR NixOS#8371. Co-authored-by: Eelco Dolstra <[email protected]> Co-authored-by: Robert Hensing <[email protected]> Co-authored-by: Valentin Gagarin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
... with links.
It leaks a very small number of C strings, but that's acceptable as they wouldn't get released anyway. When EvalState is done, normally the whole process is done.
Motivation
Add the appropriate links to the manual.
Make sure we don't forget to mention the experimental nature of new primops, when applicable.
Context
Checklist for maintainers
Maintainers: tick if completed or explain if not relevant
tests/**.shsrc/*/teststests/nixos/*Priorities
Add 👍 to pull requests you find important.