Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the definition of "derivation" #7829

Open
2 tasks done
fricklerhandwerk opened this issue Feb 14, 2023 · 2 comments
Open
2 tasks done

Clarify the definition of "derivation" #7829

fricklerhandwerk opened this issue Feb 14, 2023 · 2 comments

Comments

@fricklerhandwerk
Copy link
Contributor

fricklerhandwerk commented Feb 14, 2023

Problem

At least five users find the concept of "derivation" as described in the manual highly confusing:

@Soupstraw @ianthehenry @apoelstra myself and others.

Related:

Proposal

Reword it such at it both reflects how Nix currently works and also explains the concept such that people can develop an appropriate mental model regardless of how it's actually implemented.

Checklist

Priorities

Add 👍 to issues you find important.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-44/25546/1

@kephas
Copy link

kephas commented Nov 3, 2023

I'll note that even in the Reference Manual, in which I would expect full definitions and technical details, neither 5.4 Derivations nor 7.5.8. nix derivation show fully explain what a derivation is and contains (in the .drv file).

As a developer, it is indeed confusing not to find the actual details anywhere, because that's often a way to wrap our head around concepts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants