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

Rename to "content-address*ing* derivation" #12441

Merged

Conversation

Ericson2314
Copy link
Member

"content-addressed" derivation is misleading because all derivations are themselves content-addressed. What may or may not be content-addressed is not derivation itself, but the output of the derivation.

The outputs are not part of the derivation (for then the derivation wouldn't be complete before we built it) but rather separate entities produced by the derivation.

"content-adddressed" is not correctly because it can only describe what the derivation is, and that is not what we are trying to do.

"content-addressing" is correct because it describes what the derivation does --- it produces content-addressed data.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

"content-address*ed*" derivation is misleading because all derivations
are *themselves* content-addressed. What may or may not be
content-addressed is not derivation itself, but the *output* of the
derivation.

The outputs are not *part* of the derivation (for then the derivation
wouldn't be complete before we built it) but rather separate entities
produced by the derivation.

"content-adddress*ed*" is not correctly because it can only describe
what the derivation *is*, and that is not what we are trying to do.

"content-address*ing*" is correct because it describes what the
derivation *does* --- it produces content-addressed data.
@github-actions github-actions bot added documentation with-tests Issues related to testing. PRs with tests have some priority store Issues and pull requests concerning the Nix store c api Nix as a C library with a stable interface labels Feb 10, 2025
@fricklerhandwerk
Copy link
Contributor

I agree with this level of pedantry.

@Ericson2314 Ericson2314 merged commit 967d7b9 into NixOS:master Feb 10, 2025
13 checks passed
@Ericson2314 Ericson2314 deleted the content-addressing-derivation branch February 10, 2025 08:01
@Ericson2314
Copy link
Member Author

Thanks! I should also note that this is not a new idea out of the blue, in many comments and what-not I have already taken to calling them this. This PR is just a final sed to catch remaining usages of the old terminology.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c api Nix as a C library with a stable interface documentation store Issues and pull requests concerning the Nix store with-tests Issues related to testing. PRs with tests have some priority
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants