NIXTAMAL-GC(1)
π NAME π
okay so this is NIXTAMAL-GC(1), the nixtamal-gc page from the Nixtamal manual β and bestie, it's giving βgarbage collect old generationsβ with a big EXPERIMENTAL sticker on it. π
nixtamal-gc garbage collects old generations. It is experimental. It requires NIXTAMAL_EXPERIMENTAL_GC to be set, and it is probably still broken. What it does is keep 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. β¨
β¨ SYNOPSIS β¨
nixtamal gc [OPTION]β¦
π LICENSE π
GNU General Public License, version 3.0 later (GPL-3.0-or-later). π«Ά
π§βπ³ MAKER π§βπ³
toastal <https://toast.al/contact/> β no cap, that's the maker. π
πΈ FUNDING πΈ
See: https://toast.al/funding/ β support the vibes if you can. πΈ
πΈ OPTIONS πΈ
--color=WHEN(absent=autoorNIXTAMAL_OUTPUT_COLORenv) β colorize the output.WHENmust be one ofauto,alwaysornever.--directory=PATH(absentNIXTAMAL_DIRECTORYenv) β working directory for Nixtamal-related files (default:$PWD/nix/tamal).--generations=INT(absent=2orNIXTAMAL_GC_GENERATIONSenv) β number of generations to keep (default:2). Set to0to keep all,1to keep only current. Can also be set viaNIXTAMAL_GC_GENERATIONS.-j INT,--jobs=INT(absent=80orNIXTAMAL_JOBSenv) β Nixtamalβs executor pool domain size.-q,--quietβ be quiet. Takes over-vand--verbosity.-v,--verboseβ increase verbosity. Repeatable, but more than twice does not bring more.--verbosity=LEVEL(absent=warningorNIXTAMAL_LOG_LEVELenv) β be more or less verbose.LEVELmust be one ofquiet,error,warning,infoordebug. Takes over-v.
π COMMON OPTIONS π
--help[=FMT](default=auto) β show this help in formatFMT. The valueFMTmust be one ofauto,pager,grofforplain. Withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined.--versionβ show version information.
π₯ EXIT STATUS π₯
nixtamal gc exits with:
0β on success.65β Nixtamal working directory or manifest not set up. Runnixtamal set-up.66β Version mismatch between manifest and lockfile. Runnixtamal lock, but might require removing the lockfile first untilnixtaml fast-forwardis made.67β Manifest β¨ lockfile is not using the latest schema version. Runnixtamal upgradeto 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 runningnixtamal lockon the input.77β Vendored patch file is missing. Try runningnixtamal lockto 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 gc:
NIXTAMAL_DIRECTORYβ Directory for NixtamalNIXTAMAL_GC_GENERATIONSβ See option--generations.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>. π
π SEE ALSO π
nixtamal(1)β fulfilling input pinning for Nixnixtamal-manifest(5)βmanifest.kdlformatnixtamal(1)β yep, again, it's literally listed twice π
k bai bestie, that's the whole page β Nixtamal 2.4.0 signing off πβ¨
π¦ where this page comes from
- nixpkgs unstable: ocaml5.5.1-nixtamal 2.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms