nix3-hash-to-base32(1)
π nix3-hash-to-base32(1) β General Commands Manual π
okay bestie, before we do literally anything: there are two versions of this page in the wild and one of them is this one. this lil cutie lives in the General Commands Manual, and the program it documents is giving experimental. the interface is subject to change, so don't you dare hardcode your whole personality around it. π«Ά
β οΈ Warning β This program is experimental and its interface is subject to change. (Fr fr. It's not being dramatic, it just says that.)
β¨ Name β¨
nix hash to-base32 β convert a hash to base-32 representation.
and yes, she's deprecated β use nix hash convert instead. this one's still iconic in a vintage way but the glow-up already happened elsewhere, iykyk. π
π Synopsis π
nix hash to-base32 [optionβ¦] stringsβ¦
so like, options first if you want, then as many strings as your heart desires. go off. π
π¦ Description π¦
she takes your hashes and hands them back to you in base-32. that's the whole vibe. that's the assignment. that's it. no cap.
π Options π
--typehash-algo β Hash algorithm. your choices areblake3,md5,sha1,sha256, orsha512. and hmm, fun fact: you can straight up omit it if you're working with SRI hashes. she'll figure it out. π
π Logging-related options π
--debugβ Set the logging verbosity level todebug. she will tell you everything. every last little thing. π--log-formatformat β Set the format of log output. pick one ofraw,internal-json,barorbar-with-logs. that's the menu, bestie, no substitutions. πΈ--print-build-logs,-Lβ Print full build logs on standard error. the whole thing. unfiltered. π₯--quietβ Decrease the logging verbosity level. shhh. secret mode. π€«--verbose,-vβ Increase the logging verbosity level. yap mode: activated. β¨
π§ Miscellaneous global options π§
--helpβ Show usage information. when in doubt, ask her directly. π--offlineβ Disable substituters and consider all previously downloaded files up-to-date. airplane mode but make it nix. βοΈ--optionname value β Set the Nix configuration setting name to value, overridingnix.conf. you're the main character, you make the rules. π--refreshβ Consider all previously downloaded files out-of-date. lore reset. consider everything sus again. π--versionβ Show version information. the origin story. β
π Note β See man nix.conf for overriding configuration settings with command line flags. like, the flags-to-config pipeline is a real thing and you should know about it. π«Ά
lowkey obsessed with how simple this one is ngl β one real option, a whole pile of logging and global options that every nix3 command shares, and a giant "please use nix hash convert" energy radiating off the whole page. π
sending you off with the receipts, bestie: this page is nix3-hash-to-base32(1) from the General Commands Manual, filed under the same name in the footer. mwah. ππΈ stay slaying those hashes. periodt.
π¦ 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