Skip to content

Conversation

@roberth
Copy link
Member

@roberth roberth commented Dec 29, 2025

The sha256 parameter documentation said "file at the path" but it
works with directories too (using NAR hashing). Link to the
content-address documentation instead of duplicating information.
Add a test case that explicitly demonstrates NAR hashing of a directory
without using a filter. Add comments to clarify what each test case is
testing (NAR vs flat hashing).
@roberth roberth requested a review from edolstra as a code owner December 29, 2025 21:19
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Dec 29, 2025
@roberth roberth changed the title Flake compat 44 builtins path hash Improve builtins.path docs wrt recursive, sha256 Dec 29, 2025
@tomberek tomberek added this pull request to the merge queue Dec 31, 2025
Merged via the queue into NixOS:master with commit fc52891 Dec 31, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants