nix3-hash(1)
β¨ Name β¨
nix hash β compute and convert cryptographic hashes π
β οΈ Warning bestie: this program is experimental and its interface is subject to change. So likeβ¦ don't build your whole personality on it, okay? π
π Synopsis
nix hash [optionβ¦] subcommand
where subcommand is one of the following:
Available commands:
nix hash fileβ print cryptographic hash of a regular filenix hash pathβ print cryptographic hash of the NAR serialisation of a pathnix hash to-base16β convert a hash to base-16 representation (deprecated, usenix hash convertinstead)nix hash to-base32β convert a hash to base-32 representation (deprecated, usenix hash convertinstead)nix hash to-base64β convert a hash to base-64 representation (deprecated, usenix hash convertinstead)nix hash to-sriβ convert a hash to SRI representation (deprecated, usenix hash convertinstead)
:
nix hash convertβ convert between hash formats
βοΈ Options βοΈ
π¬ Logging-related options
--debugβ Set the logging verbosity level to βdebugβ. Maximum yapping, but make it diagnostics π--log-formatformat β Set the format of log output; one ofraw,internal-json,barorbar-with-logs. Pick your aesthetic bestie π--print-build-logs,-Lβ Print full build logs on standard error. No more mystery silence π₯--quietβ Decrease the logging verbosity level. Shhh π€«--verbose,-vβ Increase the logging verbosity level. Tell me EVERYTHING π£οΈ
π² Miscellaneous global options
--helpβ Show usage information. The classic "what does this even do" button π«Ά--offlineβ Disable substituters and consider all previously downloaded files up-to-date. Airplane mode, but for Nix βοΈ--optionname value β Set the Nix configuration setting name to value (overridingnix.conf). Inline config edits, we love to see it π--refreshβ Consider all previously downloaded files out-of-date. Everything is old again, sorry π--versionβ Show version information. Receipts π
π Note: See man nix.conf for overriding configuration settings with command line flags.
and that's the whole page, no cap π this was nix3-hash(1) from the Nix General Commands Manual β experimental era, interface may shift under you like a vibe check gone wrong π stay iconic, bestie, and remember: the hashes are hashing, the formats are converting, and you ate πβ¨π¦
π¦ where this page comes from
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms