{"id":18478352,"url":"https://github.com/blitz/nix-link-cleanup","last_synced_at":"2025-04-08T15:32:30.334Z","repository":{"id":246881624,"uuid":"824609707","full_name":"blitz/nix-link-cleanup","owner":"blitz","description":"Clean up Nix result links to allow garbage collection to do its thing!","archived":false,"fork":false,"pushed_at":"2024-10-17T22:33:19.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T15:43:41.541Z","etag":null,"topics":["nix","nix-flake"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blitz.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":"2024-07-05T13:59:01.000Z","updated_at":"2024-10-17T22:33:22.000Z","dependencies_parsed_at":"2024-07-05T18:35:23.300Z","dependency_job_id":"4980d47a-ae64-46a5-b516-21b2d68b045f","html_url":"https://github.com/blitz/nix-link-cleanup","commit_stats":null,"previous_names":["blitz/nix-link-cleanup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fnix-link-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fnix-link-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fnix-link-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fnix-link-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blitz","download_url":"https://codeload.github.com/blitz/nix-link-cleanup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247871423,"owners_count":21010041,"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":["nix","nix-flake"],"created_at":"2024-11-06T12:09:47.195Z","updated_at":"2025-04-08T15:32:25.283Z","avatar_url":"https://github.com/blitz.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Result Links Cleaner\n\nA CLI program to recursively scan a specified directory for Nix result\nsymbolic links and optionally delete them.\n\n## Why?\n\nHave you ever wondered why `nix-collect-garbage` does not clean up as\nmuch stuff as you'd think it should? Maybe all the build results of\nyour `nix-build` adventures are still around and keeping `/nix/store`\npaths alive.\n\nI used to run `find . -name \"result*\" -type l -print -delete`, but\nthat occasionally deletes things it shouldn't. Oops. So here we are\nwith a dedicated tool!\n\n## What does it do?\n\nThis tool finds all symbolic links that are called `result` or\n`result-*` and point to a Nix store path. Then it can delete them, if\nyou opt-in via `--delete`.\n\n## Building\n\nThis is a Rust app without anything special. So you can do:\n\n```console\n$ cargo build --release\n$ cargo run --release -- --help\n```\n\n## Contribution\n\nContributions are welcome! We strive for a super simple tool, so some\nfeatures might be rejected to keep it minimal.\n\n## License\n\nThis project is licensed as GPLv3 or later.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblitz%2Fnix-link-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblitz%2Fnix-link-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblitz%2Fnix-link-cleanup/lists"}