NIXTAMAL(1)

πŸ“¦
version 2.4.0 Β· 2 versions
, in nixpkgs unstable

πŸ’… NIXTAMAL(1) πŸ’…

okay bestie, welcome to the Nixtamal Manual β€” section 1 of the manual, the command-line girlies. this is your girl's whole personality in one page, so grab a boba and let's go πŸ§‹βœ¨


🌸 NAME 🌸

nixtamal β€” fulfilling input pinning for Nix. that's it, that's the whole vibe. it pins your inputs. it fulfills them. iconic behavior fr fr πŸ’…


✨ SYNOPSIS ✨

nixtamal COMMAND …

literally just pick a command and go, no cap 🫢


πŸ“œ LICENSE πŸ“œ

GNU General Public License, version 3.0 later (GPL-3.0-or-later). free software, the legal kind, slay πŸ’–


πŸŽ€ MAKER πŸŽ€

toastal <https://toast.al/contact/> β€” the main character who built all this, we stan πŸ‘‘


πŸ’Έ FUNDING πŸ’Έ

See: https://toast.al/funding/ β€” if this tool ate and left no crumbs for you, the link is right there 🌈


πŸ¦‹ COMMANDS πŸ¦‹

  • check-soundness [OPTION]… β€” Checks that the manifest Γ— lockfile is sound. it's giving "sanity check but make it fashion" ✨
  • gc [OPTION]… β€” Garbage collect old generations (experimental). heads up bestie: this one requires NIXTAMAL_EXPERIMENTAL_GC to be set & is probably still broken 😭 it keeps the freshest (configurable) number of generations. we suggest at least 2 if you're favoring rebase-style workflows, so swapping back & forth is less trouble. bestie protection, you know? 🫢
  • list-stale [OPTION]… β€” List stale inputs with fresh-cmd, without refreshing. look at them, don't touch them πŸ’€
  • lock [OPTION]… [INPUT_NAME]… β€” Lock all not-yet-locked inputs. lock in, literally πŸ”’
  • refresh [OPTION]… [INPUT_NAME]… β€” Refreshes all non-frozen inputs using the fresh-cmd β€” or the default fresh-cmd for certain kinds with a reasonable default (Git, some files/archives) β€” & then locks stale inputs. glow-up for your inputs, periodt ✨
  • set-up [OPTION]… β€” Set up working directory for Nixtamal. by default, also adds Nixpkgs from upstream to the project's inputs πŸŽ€
  • show [OPTION]… β€” Shows current inputs as understood by Nixtamal for earthlings. yes bestie, that means you, a human πŸ’–
  • tweak [OPTION]… β€” Tweak the manifest file with $VISUAL, $EDITOR, or vi. your editor, your rules πŸ’…
  • upgrade [OPTION]… β€” Upgrade lockfile & manifest to current schema version. out with the old, in with the new πŸ¦‹

🌟 COMMON OPTIONS 🌟

  • --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. iykyk πŸ™ˆ
  • --version β€” Show version information. who am i? you're that girl πŸŽ€

πŸ’€ EXIT STATUS πŸ’€

nixtamal exits with:

  1. 0 β€” on success. ate. πŸ’…
  2. 65 β€” Nixtamal working directory or manifest not set up. Run nixtamal set-up. you forgot to get ready first 😭
  3. 66 β€” Version mismatch between manifest and lockfile. Run nixtamal lock, but might require removing the lockfile first until nixtaml fast-forward is made. yes, removing β€” no thoughts head empty, just delete πŸ”₯
  4. 67 β€” Manifest ∨ lockfile is not using the latest schema version. Run nixtamal upgrade to upgrade. respectfully, upgrade ✨
  5. 68 β€” Failed to parse the manifest file. she's not reading πŸ’€
  6. 69 β€” Failed to parse the lockfile. her either πŸ’€
  7. 70 β€” Failed to serialize lockfile.
  8. 71 β€” Fresh command execution threw an exception. the vibes were off 😭
  9. 72 β€” Fresh command output nothing. silence. awkward silence. πŸ™ˆ
  10. 73 β€” Prefetch command threw an exception.
  11. 74 β€” Prefetch command output was unusable. gave us nothing usable ngl
  12. 75 β€” Prefetch command flopped on JSON output. flopped fr fr πŸ’€
  13. 76 β€” Darcs context file is missing or invalid. Try running nixtamal lock on the input.
  14. 77 β€” Vendored patch file is missing. Try running nixtamal lock to fetch it.
  15. 78 β€” Silo error (such as bad hex in generation number). bad hex, bad vibes πŸŽ€
  16. 79 β€” Version not found or invalid in manifest file.
  17. 80 β€” Upgrading Nixtamal failed. the glow-up did not go as planned 😭
  18. 81 β€” BLAKE3 hash algorithm is requested but this Nix doesn't support it. your Nix said "not today" πŸ™…
  19. 82 β€” Input kind mismatch between manifest & lockfile which prevents values to be melded. they're not compatible bestie, we don't force it πŸ’”
  20. 83 β€” Blueprint scaffolding failed to write files.
  21. 84 β€” A patch failed to apply. the patch said no πŸ’€
  22. 85 β€” An input references patches that are not defined in the manifest. ghost patches. not the cute kind πŸ‘»
  23. 123 β€” on indiscriminate errors reported on standard error.
  24. 124 β€” on command line parsing errors.
  25. 125 β€” on unexpected internal errors (bugs). a bug! not the cute kind either πŸ›

🐚 SEE ALSO 🐚

the whole friend group honestly 🫢✨


🫢 BUGS 🫢

No tracker is set up; contact the maker directly or join the XMPP chatroom @ <xmpp:nixtamal@chat.toastal.in.th?join>. no cap, just pull up and say hi πŸ’œ

ngl if something's cursed, go straight to the source β€” the maker is right there and the chatroom is open.

okay that's the whole page bestie, you're officially caught up πŸ’– this was Nixtamal 2.4.0 β€” the version and the date live down here in the footer like the little signature it is. go pin some inputs, you're gonna slay πŸŒΈπŸ’…βœ¨

πŸ“¦ where this page comes from