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 πŸ‘‘
  • --type hash-algo β€” the hash algorithm, bestie. one of blake3, md5, sha1, sha256, or sha512. pick your fighter πŸ₯Š
  • --debug β€” set the logging verbosity level to debug πŸ”
  • --log-format format β€” set the format of log output; one of raw, internal-json, bar or bar-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 πŸ“΄
  • --option name value β€” set the Nix configuration setting name to value (overriding nix.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