NIXTAMAL-GC(1)

nixtamal-gc - Garbage collect old generations (experimental). Requires NIXTAMAL_EXPERIMENTAL_GC to be set & is probably still broken. Keeping the freshest (configurable) number of generations. We suggest at least 2 if favoring rebase-style workflows so swapping back & forth is less trouble.

nixtamal gc [OPTION]…

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

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

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

Colorize the output. WHEN must be one of auto, always or never.
Working directory for Nixtamal-related files (default: $PWD/nix/tamal)
Number of generations to keep (default: 2). Set to 0 to keep all, 1 to keep only current. Can also be set via NIXTAMAL_GC_GENERATIONS.
Nixtamal’s executor pool domain size.
Be quiet. Takes over -v and --verbosity.
Increase verbosity. Repeatable, but more than twice does not bring more.
Be more or less verbose. LEVEL must be one of quiet, error, warning, info or debug. Takes over -v.

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.
Show version information.

nixtamal gc 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
Silo error (such as bad hex in generation number).
78
Version not found or invalid in manifest file.
79
Upgrading Nixtamal failed.
80
BLAKE3 hash algorithm is requested but this Nix doesn’t support it.
81
Input kind mismatch between manifest & lockfile which prevents values to be melded.
82
Blueprint scaffolding failed to write files.
123
on indiscriminate errors reported on standard error.
124
on command line parsing errors.
125
on unexpected internal errors (bugs).

These environment variables affect the execution of nixtamal gc:

Directory for Nixtamal
See option --generations.
See option --jobs.
See option --verbosity.
See option --color.

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

fulfilling input pinning for Nix
manifest.kdl format

nixtamal(1)

Nixtamal 1.9.2