NIXTAMAL-UPGRADE(1)

πŸ“¦ version 2.4.0, in nixpkgs unstable

πŸŽ€ nixtamal-upgrade(1) β€” the Nixtamal Manual, bestie edition πŸŽ€

okay so real talk: this is the nixtamal-upgrade page from the Nixtamal Manual, and it's literally the glow-up page. it takes your lockfile & manifest and upgrades them to the current schema version. that's the whole vibe. πŸ’…


✨ NAME ✨

nixtamal-upgrade β€” upgrade lockfile & manifest to current schema version. periodt.


🌸 SYNOPSIS 🌸

nixtamal upgrade [OPTION]…

that's it. that's the whole invocation. options go after, and there are a lot of them, so buckle up 🫢


πŸ‘‘ LICENSE πŸ‘‘

GNU General Public License, version 3.0 later (GPL-3.0-or-later). slay and free, as in freedom πŸ¦‹


🧚 MAKER 🧚

toastal <https://toast.al/contact/> β€” the main character who made this πŸ’œ


πŸ’– FUNDING πŸ’–

See: https://toast.al/funding/ β€” yes this is your sign to check it out, no cap 🌈


⭐ OPTIONS ⭐

  • --color=WHEN (absent=auto or NIXTAMAL_OUTPUT_COLOR env) β€” colorize the output, aesthetic matters. WHEN must be one of auto, always or never.
  • --directory=PATH (absent NIXTAMAL_DIRECTORY env) β€” the working directory for Nixtamal-related files (default: $PWD/nix/tamal). that's where the magic lives 🏠
  • --dry-run β€” show what would be upgraded without making changes (basic). like a vibe check before the real thing, iykyk.
  • --from=VERSION β€” upgrade from a specific version. must match the lockfile version, fr fr β€” no gaslighting the lockfile.
  • -j INT, --jobs=INT (absent=80 or NIXTAMAL_JOBS env) β€” Nixtamal's executor pool domain size. yes, 80 is the default, she's ambitious πŸ”₯
  • -q, --quiet β€” be quiet. takes over -v and --verbosity. not me silencing the whole group chat πŸ’€
  • --to=VERSION β€” upgrade to a specific version. must be newer than --from, lowkey obvious but we said it anyway.
  • -v, --verbose β€” increase verbosity. repeatable, but more than twice does not bring more. so -vv and then like... chill 😭
  • --verbosity=LEVEL (absent=warning or NIXTAMAL_LOG_LEVEL env) β€” be more or less verbose. LEVEL must be one of quiet, error, warning, info or debug. takes over -v.

πŸ¦‹ COMMON OPTIONS πŸ¦‹

the universal faves, here for every invocation 🫢

  • --help[=FMT] (default=auto) β€” show this help in format FMT. the value FMT must be one of auto, pager, groff or plain. with auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
  • --version β€” show version information. the classic. iconic. πŸŽ€

🌈 EXIT STATUS 🌈

nixtamal upgrade exits with:

  • 0 β€” on success. we love a happy ending πŸ’–
  • 65 β€” Nixtamal working directory or manifest not set up. Run nixtamal set-up.
  • 66 β€” Version mismatch between manifest and lockfile. Run nixtamal lock, but might require removing the lockfile first until nixtaml fast-forward is made.
  • 67 β€” Manifest ∨ lockfile is not using the latest schema version. Run nixtamal upgrade to upgrade. (yes, that's literally this command, go off πŸ‘‘)
  • 68 β€” Failed to parse the manifest file.
  • 69 β€” Failed to parse the lockfile.
  • 70 β€” Failed to serialize lockfile.
  • 71 β€” Fresh command execution threw an exception.
  • 72 β€” Fresh command output nothing. silent treatment, rude 😭
  • 73 β€” Prefetch command threw an exception.
  • 74 β€” Prefetch command output was unusable.
  • 75 β€” Prefetch command flopped on JSON output.
  • 76 β€” Darcs context file is missing or invalid. Try running nixtamal lock on the input.
  • 77 β€” Vendored patch file is missing. Try running nixtamal lock to fetch it.
  • 78 β€” Silo error (such as bad hex in generation number).
  • 79 β€” Version not found or invalid in manifest file.
  • 80 β€” Upgrading Nixtamal failed. πŸ’€
  • 81 β€” BLAKE3 hash algorithm is requested but this Nix doesn't support it.
  • 82 β€” Input kind mismatch between manifest & lockfile which prevents values to be melded.
  • 83 β€” Blueprint scaffolding failed to write files.
  • 84 β€” A patch failed to apply.
  • 85 β€” An input references patches that are not defined in the manifest.
  • 123 β€” on indiscriminate errors reported on standard error.
  • 124 β€” on command line parsing errors.
  • 125 β€” on unexpected internal errors (bugs). if you see this one, it's not you, it's them πŸ™ˆ

πŸ’œ ENVIRONMENT πŸ’œ

these environment variables affect the execution of nixtamal upgrade:

  • NIXTAMAL_DIRECTORY β€” directory for Nixtamal
  • NIXTAMAL_JOBS β€” see option --jobs.
  • NIXTAMAL_LOG_LEVEL β€” see option --verbosity.
  • NIXTAMAL_OUTPUT_COLOR β€” see option --color.

πŸ”₯ BUGS πŸ”₯

No tracker is set up; contact the maker directly or join the XMPP chatroom @ <xmpp:nixtamal@chat.toastal.in.th?join>. yes that's a real link, go say hi, the group chat is open 🫢


πŸ“ SEE ALSO πŸ“


that's the whole page bestie, go upgrade something and slay ✨

πŸ’Œ cute sign-off: this was Nixtamal 2.4.0, page NIXTAMAL-UPGRADE(1) β€” see you in the next manpage, mwah πŸŽ€
πŸ“¦ where this page comes from