builtins.derivation
is not documented #436
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#436
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Much like lix-project/lix#73,
builtins.derivation
isn't documented (intentionally so, as it's supposedly documented "elsewhere", except it is not.)Proposal
Produce documentation for
builtins.derivation
, which is a fairly simple wrapper aroundbuiltins.strictDerivation
to make working with it easier and allow the output to be computed lazily.Checklist
[source]
it's documented here: https://docs.lix.systems/manual/lix/nightly/language/derivations.html, and the list of builtin functions has a link there too. there's no documentation that's accessible from the repl though, and should definitely be rectified (which we actually can! thanks lix-doc :3)
I don't consider builtins that aren't documented in the REPL to be actually documented, and we don't even need lix-doc for this (though I noticed this because it falls back to trying to find docs on the
builtins.derivation
lambda itself, and fails because there are none). We just need to actually add docs to it's builtin definition.cafkafk apparently wrote such documentation: https://catgirl.farm/objects/4798ecb1-7772-4aab-8baa-2f7937471262