{"id":27958416,"url":"https://github.com/determinatesystems/flake-iter","last_synced_at":"2025-09-10T05:19:47.777Z","repository":{"id":276237573,"uuid":"785855215","full_name":"DeterminateSystems/flake-iter","owner":"DeterminateSystems","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-24T15:34:09.000Z","size":155,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T20:09:44.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeterminateSystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-12T19:12:36.000Z","updated_at":"2025-04-24T15:34:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd3e0d7f-9ff0-4efb-82d9-792311c0ea21","html_url":"https://github.com/DeterminateSystems/flake-iter","commit_stats":null,"previous_names":["determinatesystems/flake-iter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fflake-iter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fflake-iter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fflake-iter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fflake-iter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeterminateSystems","download_url":"https://codeload.github.com/DeterminateSystems/flake-iter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252932269,"owners_count":21827267,"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":[],"created_at":"2025-05-07T18:23:30.341Z","updated_at":"2025-05-07T18:23:31.079Z","avatar_url":"https://github.com/DeterminateSystems.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flake-iter\n\nA convenient tool for building all of your Nix stuff.\n\n## Build all derivations\n\nThe `build` command determines which of your flake's outputs are derivations and builds them all:\n\n```shell\nflake-iter build\n```\n\nAdd the `--verbose`/`-v` flag for debug-level logging and output piped from each `nix build` invocation.\n\n```shell\nflake-iter build --verbose\n```\n\nYou can specify a directory different from the current directory using the `--directory`/`-d` option:\n\n```shell\nflake-iter build --directory ./my-dir\n```\n\nYou can also specify a Nix system to build for:\n\n```shell\nflake-iter build --system myarch-myos\n```\n\nIf not specified, `flake-iter` detects your current system.\n\n## Output systems list\n\n```shell\nflake-iter systems\n```\n\nThis writes a list of the form below to the `file` at `$GITHUB_OUTPUT`:\n\n```json\n[\n  {\n    \"nix-system\": \"aarch64-darwin\",\n    \"runner\": \"macos-latest\"\n  }\n]\n```\n\nIt's intended for use only in GitHub Actions runs.\n\nThe `systems` command maps Nix systems to runners.\nHere's the default mapping:\n\n```json\n\n{\n  \"x86_64-linux\": \"ubuntu-latest\",\n  \"x86_64-darwin\": \"macos-latest\",\n  \"aarch64-darwin\": \"macos-latest\"\n}\n```\n\nYou can provide your own custom mapping using the `--runner-map` option:\n\n```shell\nflake-iter systems \\\n  --runner-map '{\"x86_64-linux\":\"chonky-linux-box\",\"x86_64-darwin\":\"chonky-macos-box\"}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeterminatesystems%2Fflake-iter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeterminatesystems%2Fflake-iter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeterminatesystems%2Fflake-iter/lists"}