mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
For text files it is possible to do it like so: `builtins.hashString "sha256" (builtins.readFile /tmp/a)` but that doesn't work for binary files. With builtins.hashFile any kind of file can be conveniently hashed. |
||
|---|---|---|
| .. | ||
| advanced-attributes.xml | ||
| arguments-variables.xml | ||
| build-script.xml | ||
| builder-syntax.xml | ||
| builtins.xml | ||
| derivations.xml | ||
| expression-language.xml | ||
| expression-syntax.xml | ||
| generic-builder.xml | ||
| language-constructs.xml | ||
| language-operators.xml | ||
| language-values.xml | ||
| simple-building-testing.xml | ||
| simple-expression.xml | ||
| writing-nix-expressions.xml | ||