nix3-hash-file(1)
π nix3-hash-file(1) π
okay bestie, welcome to the General Commands Manual page for nix hash file, and yes the manual name goes right up here because that's just how we do π
β οΈ Warning β this program is experimental and its interface is subject to change. fr fr, the vibes may shift under you. π
β¨ Name β¨
nix hash file β print cryptographic hash of a regular file π¦
β¨ Synopsis β¨
nix hash file [optionβ¦] pathsβ¦
πΈ Description πΈ
not me just... taking a regular file and handing you its cryptographic hash π that's the whole gig. you give it pathsβ¦, it gives you the hash. iconic, honestly.
π Options π
--base16β prints the hash in base-16 format π--base32β prints the hash in base-32 (Nix-specific) format β¨--base64β prints the hash in base-64 format π--sriβ prints the hash in SRI format π--typehash-algo β the hash algorithm, bestie. one ofblake3,md5,sha1,sha256, orsha512. pick your fighter π₯
Logging-related options π«Ά
--debugβ set the logging verbosity level todebugπ--log-formatformat β set the format of log output; one ofraw,internal-json,barorbar-with-logsπ--print-build-logs,-Lβ print full build logs on standard error π’--quietβ decrease the logging verbosity level π€«--verbose,-vβ increase the logging verbosity level π£οΈ
Miscellaneous global options β
--helpβ show usage information π--offlineβ disable substituters and consider all previously downloaded files up-to-date π΄--optionname value β set the Nix configuration setting name to value (overridingnix.conf) βοΈ--refreshβ consider all previously downloaded files out-of-date π--versionβ show version information π·οΈ
π Note β see man nix.conf for overriding configuration settings with command line flags. iykyk π«
and that's the whole page, bestie, you ate that π
β¨ this was nix3-hash-file(1) from the General Commands Manual β mwah, go hash something pretty πππ¦
π¦ 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