{"id":18522636,"url":"https://github.com/astro/nix-cache-cut","last_synced_at":"2025-04-09T11:30:59.308Z","repository":{"id":152240136,"uuid":"605312613","full_name":"astro/nix-cache-cut","owner":"astro","description":"Trim Nix binary caches according to GC roots","archived":false,"fork":false,"pushed_at":"2023-06-07T23:07:48.000Z","size":30,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T05:11:37.106Z","etag":null,"topics":["binary-cache","gc","nix","nixos"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T22:29:15.000Z","updated_at":"2023-07-09T17:00:15.000Z","dependencies_parsed_at":"2023-09-27T17:54:11.313Z","dependency_job_id":null,"html_url":"https://github.com/astro/nix-cache-cut","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fnix-cache-cut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fnix-cache-cut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fnix-cache-cut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro%2Fnix-cache-cut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astro","download_url":"https://codeload.github.com/astro/nix-cache-cut/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248031082,"owners_count":21036328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binary-cache","gc","nix","nixos"],"created_at":"2024-11-06T17:32:25.944Z","updated_at":"2025-04-09T11:30:59.298Z","avatar_url":"https://github.com/astro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nix-cache-cut\n\nYet another garbage collector for Nix binary caches.\n\nThis one runs with a list of GC roots just like your ordinary\n`nix-collect-garbage`. It does not operate time-based to expire old\nfiles like [lheckemann's\ncache-gc](https://github.com/lheckemann/cache-gc).\n\n\n## Usage\n\n```console\n$ nix run github:astro/nix-cache-cut -- --help\nTrim Nix binary caches according to GC roots\n\nUsage: nix-cache-cut [OPTIONS] \u003cCACHEDIR\u003e [GCROOTS]...\n\nArguments:\n  \u003cCACHEDIR\u003e    Cache directory\n  [GCROOTS]...  Garbage collector roots [default: /nix/var/nix/gcroots]\n\nOptions:\n  -n, --dry-run  Do not actually delete files\n  -h, --help     Print help\n  -V, --version  Print version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastro%2Fnix-cache-cut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastro%2Fnix-cache-cut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastro%2Fnix-cache-cut/lists"}