lix-releng-staging/doc/manual/expressions
Daniel Schaefer 3f192ac80c Add builtins.hashFile
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.
2019-05-03 17:23:36 +02:00
..
advanced-attributes.xml Manual: build locally -> build 2018-11-09 16:08:36 +01:00
arguments-variables.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
build-script.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
builder-syntax.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
builtins.xml Add builtins.hashFile 2019-05-03 17:23:36 +02:00
derivations.xml Fix variable name typo in derivations doc 2017-05-28 15:48:57 +03:00
expression-language.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
expression-syntax.xml update MD5 to SHA-256 in expression-syntax 2017-08-18 16:07:33 -07:00
generic-builder.xml Delete the stdenv section 2014-12-14 01:39:32 +01:00
language-constructs.xml docs: Add IDs to important sections 2018-08-31 10:06:33 -04:00
language-operators.xml Describe arithmetic operators 2017-10-26 18:53:35 +00:00
language-values.xml Clarify indented string escaping rules 2017-10-26 18:53:36 +00:00
simple-building-testing.xml Manual: Remove old cruft 2018-01-31 15:08:46 +01:00
simple-expression.xml Add section on SSH substituter 2014-12-14 03:19:15 +01:00
writing-nix-expressions.xml Delete the stdenv section 2014-12-14 01:39:32 +01:00