summaryrefslogtreecommitdiff
path: root/docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md
diff options
context:
space:
mode:
authorJohn Bargman2026-04-15 08:23:09 +0000
committerJohn Bargman2026-04-15 08:23:09 +0000
commitdb6b79edbfca3ab7049af2492acd567b099559f5 (patch)
treef54df4a8af70b057032e5af882bd6d1e6be87bf2 /docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md
parent4f877207787edd592687f338772d95c9ec2c7038 (diff)
downloadnixtaml-website-main.tar
nixtaml-website-main.tar.gz
nixtaml-website-main.tar.bz2
nixtaml-website-main.tar.lz
nixtaml-website-main.tar.xz
nixtaml-website-main.tar.zst
nixtaml-website-main.zip
agentic ai; is so; fucking cool; omgmain
Diffstat (limited to 'docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md')
-rw-r--r--docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md b/docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md
new file mode 100644
index 0000000..873649a
--- /dev/null
+++ b/docs/archive/organized/cookbook/setting-hash-algorithm-to-blake3-in-nix/setting-hash-algorithm-to-blake3-in-nix.md
@@ -0,0 +1,23 @@
+# Setting the Hash Algorithm to BLAKE3 | Nixtamal
+
+┏┓╻+╻ ╱┏┳┓┏┓┏┳┓┏┓╻
+
+┃┃┃┃┗━┓╹┃╹┣┫┃┃┃┣┫┃
+
+╹┗┛╹╱ ╹ ╹ ╹╹╹ ╹╹╹┗┛ Home Install Manpage Changelog Roadmap Cookbook Real-world showcase Community FAQs Funding Setting the Hash Algorithm to BLAKE3 Nix supports a number of hash algorithms: MD5 (deprecated) SHA-1 (deprecated) SHA-256 (default) SHA-512 BLAKE3 (experimental) BLAKE3 support requires Nix version 2.31+ & enabling the blake3-hashes experimental feature .
+
+This algorithm is very good with tree-like structures — like the file system, which is what Nix is often hashing.
+
+BLAKE3 offers faster hashing & is more secure which makes it a good choice for new setups that can afford to try it out.
+
+At the time of writing, Nix flakes does not & cannot support changing the hash algorithm away from SHA-256 for input pinning requiring an input pinner like Nixtamal to automate it. How to use the BLAKE3 hash algorithm with Nix + Nixtamal Let’s show the way using the WhisperFish repository’s latest commit, but you can use any input kind. Using BLAKE3 on a single input // manifest.kdl inputs { whisperfish { archive { url "https://gitlab.com/whisperfish/whisperfish/-/archive/{{fresh-value}}/whisperfish-{{fresh-value}}.tar.bz2" } hash algorithm= BLAKE3 } fresh-cmd { $ git ls-remote --branches main "https://gitlab.com/whisperfish/whisperfish.git" | cut -f1 } } Additionally, you can set BLAKE3 to be the default in the manifest file’s top level. Project-wide default // manifest.kdl version "1.0.0" default-hash-algorithm BLAKE3 Site made with Nix ( dep management), Nickel ( config ), Soupault ( SSG ), Docutils ( rST rendering), mandoc (manpage conversion), & sugilite256 (color scheme). © 2025–2026 toastal .
+
+© 2026 Nixtamal contributors.
+
+Some rights reserved.
+
+Except where otherwise noted, the content on this website is licensed under CC-BY-SA-4.0 .
+
+Citations must attribute the work’s writer/maker & include a hyperlink to this website (or rather the work itself).
+
+Yes, these rules/clauses apply to LLM s & AI assistants too.