NIXTAMAL-SET-UP(1)

๐Ÿ“ฆ version 2.4.0, in nixpkgs unstable

๐Ÿ’… NIXTAMAL-SET-UP(1) โ€” nixtamal-set-up ๐Ÿ’…

okay so bestie, this is the nixtamal-set-up page from the Nixtamal Manual, and it's giving โ€œlet's get your working directory cute and functionalโ€ energy. ๐Ÿ’–

๐ŸŒธ NAME ๐ŸŒธ

nixtamal-set-up โ€” Set up working directory for Nixtamal. By default, also adds Nixpkgs from upstream to the project's inputs. No cap, that's the whole assignment. โœจ

โœจ SYNOPSIS โœจ

nixtamal set-up [OPTION]โ€ฆ

๐Ÿ“œ LICENSE ๐Ÿ“œ

GNU General Public License, version 3.0 later (GPL-3.0-or-later)

๐Ÿซถ MAKER ๐Ÿซถ

toastal <https://toast.al/contact/>

๐Ÿ’ธ FUNDING ๐Ÿ’ธ

See: https://toast.al/funding/

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -b BLUEPRINT, --blueprint=BLUEPRINT โ€” Make a complete project structure based on a blueprint to give a starting off point to build on. It's literally a starter pack for your project vibe. ๐ŸŒฑ
  • -c, --use-channels (absent NIXTAMAL_USE_NIXPKGS_CHANNELS env) โ€” Channels are more efficient being compressed with Zstandard instead of gzip (older stable releases still use LZMA), doesnโ€™t rely on US megacorpations, & is recommend โ€” despite this recommendation however, the syntax for this setup is less intuitive to users while also not providing a clear template for Git archives to be remixed for other inputs making it not the default for newcomers. So: iconic efficiency, slightly more feral syntax, not the newcomer default. ๐Ÿ’…
  • --color=WHEN (absent=auto or NIXTAMAL_OUTPUT_COLOR env) โ€” Colorize the output. WHEN must be one of auto, always or never. ๐ŸŒˆ
  • --directory=PATH (absent NIXTAMAL_DIRECTORY env) โ€” Working directory for Nixtamal-related files (default: $PWD/nix/tamal). ๐Ÿ—‚๏ธ
  • --fetch-time=FETCH_TIME โ€” The default fetch time to be used for inputs. โฑ๏ธ
  • --hash-algorithm=HASH_ALGORITHM โ€” The default algorithm to be used for inputs & patches. ๐Ÿ”
  • -j INT, --jobs=INT (absent=80 or NIXTAMAL_JOBS env) โ€” Nixtamalโ€™s executor pool domain size. ๐ŸŠโ€โ™€๏ธ
  • --nixpkgs-channel=CHANNEL_NAME (absent NIXTAMAL_NIXPKGS_CHANNEL env) โ€” Nixpkgs channel for Nixtamal setup (such as nixpkgs-unstable). Both --nixpkgs-channel & --nixpkgs-ref cannot be used at the same time. ๐Ÿšซ
  • --nixpkgs-ref=REF (absent NIXTAMAL_NIXPKGS_REF env) โ€” Nixpkgs Git ref for Nixtamal setup (such as refs/heads/nixos-25.11; default: refs/heads/nixos-unstable). Both --nixpkgs-channel & --nixpkgs-ref cannot be used at the same time. ๐ŸŒฟ
  • --nixpkgs-revision=REVISION (absent NIXTAMAL_NIXPKGS_REVISION env) โ€” Nixpkgs Git revision for Nixtamal setup. The value will be used as the latest revision/change. ๐Ÿ“Œ
  • --no-nixpkgs (absent NIXTAMAL_NO_NIXPKGS env) โ€” Do not add Nixpkgs to the pinned inputs list by default. Sometimes you gotta say no. ๐Ÿ™…โ€โ™€๏ธ
  • -q, --quiet โ€” Be quiet. Takes over -v and --verbosity. ๐Ÿคซ
  • --use-mirrors (absent NIXTAMAL_USE_MIRRORS env) โ€” For resilience, use the USTC versioned release mirror & the TUNA channel mirror as fallbacks. Channel inputs use the release archive with both mirrors; non-channel refs use the known TUNA Git mirror. Off by default as Git updating is slightly slower & some users might object to TUNAโ€™s hosting origin state. ๐Ÿชž
  • -v, --verbose โ€” Increase verbosity. Repeatable, but more than twice does not bring more. ๐Ÿ—ฃ๏ธ
  • --vcs=VCS (absent=auto) โ€” VCS for ignore file setup. ๐Ÿงพ
  • --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 ๐Ÿซถ

  • --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. ๐Ÿท๏ธ

๐Ÿ’€ EXIT STATUS ๐Ÿ’€

nixtamal set-up exits with:

  • 0 โ€” on success. ๐ŸŽ‰
  • 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. โฌ†๏ธ
  • 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. ๐Ÿซฅ
  • 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). ๐Ÿ›

๐ŸŒฑ ENVIRONMENT ๐ŸŒฑ

These environment variables affect the execution of nixtamal set-up:

  • NIXTAMAL_DIRECTORY โ€” Directory for Nixtamal
  • NIXTAMAL_JOBS โ€” See option --jobs.
  • NIXTAMAL_LOG_LEVEL โ€” See option --verbosity.
  • NIXTAMAL_NIXPKGS_CHANNEL โ€” See option --nixpkgs-channel.
  • NIXTAMAL_NIXPKGS_REF โ€” See option --nixpkgs-ref.
  • NIXTAMAL_NIXPKGS_REVISION โ€” See option --nixpkgs-revision.
  • NIXTAMAL_NO_NIXPKGS โ€” See option --no-nixpkgs.
  • NIXTAMAL_OUTPUT_COLOR โ€” See option --color.
  • NIXTAMAL_USE_MIRRORS โ€” See option --use-mirrors.
  • NIXTAMAL_USE_NIXPKGS_CHANNELS โ€” See option --use-channels.

๐Ÿ› BUGS ๐Ÿ›

No tracker is set up; contact the maker directly or join the XMPP chatroom @ xmpp:nixtamal@chat.toastal.in.th?join. ๐Ÿซถ

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€


๐Ÿ’– Nixtamal 2.4.0 โ€ข page NIXTAMAL-SET-UP(1) โ€ข that's the whole footer vibe, bestie. periodt. ๐Ÿ’–

๐Ÿ“ฆ where this page comes from