{"id":13709865,"url":"https://github.com/Cloudef/nix-zig-stdenv","last_synced_at":"2025-05-06T18:33:06.855Z","repository":{"id":62332980,"uuid":"559699431","full_name":"Cloudef/nix-zig-stdenv","owner":"Cloudef","description":"cross-compile nixpkgs with zig","archived":true,"fork":false,"pushed_at":"2024-01-21T04:28:18.000Z","size":907,"stargazers_count":45,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T23:16:39.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","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/Cloudef.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}},"created_at":"2022-10-30T22:26:28.000Z","updated_at":"2024-05-31T07:51:22.000Z","dependencies_parsed_at":"2023-10-12T16:40:50.827Z","dependency_job_id":"16cf445e-507a-4747-8626-3af77e79860d","html_url":"https://github.com/Cloudef/nix-zig-stdenv","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/Cloudef%2Fnix-zig-stdenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudef%2Fnix-zig-stdenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudef%2Fnix-zig-stdenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cloudef%2Fnix-zig-stdenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cloudef","download_url":"https://codeload.github.com/Cloudef/nix-zig-stdenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521404,"owners_count":17325229,"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":"2024-08-02T23:00:47.451Z","updated_at":"2024-11-13T20:30:29.527Z","avatar_url":"https://github.com/Cloudef.png","language":"Nix","funding_links":[],"categories":["Fundamentals"],"sub_categories":["Package and Version Manager"],"readme":"# Zig based cross-compiling toolchain\n\n##  Major known issues:\n\n- Zig seems to randomly fail with parallel builds with 'error: unable to build ... CRT file: BuildingLibCObjectFailed'\n  This seems like race condition with the cache?\n  https://github.com/ziglang/zig/issues/13160\n  https://github.com/ziglang/zig/issues/9711\n\n- Rust and zig fight for the ownership of libcompiler_rt\n  https://github.com/ziglang/zig/issues/5320\n\n## Why zig for cross-compiling?\n\nZig can cross-compile out of the box to many target without having to bootstrap the whole cross-compiler and various libcs\nThis means builds are very fast\n\n# TODO\n\n- Generate meta.json with github actions\n   - Rank zig versions and targets depending how well they do in tests\n- Provide `zigPkgs` set with packages maintained in this repo\n   - Packages that need major restructuring to compile\n   - Minimal versions of existing packages (we are mostly interested in libs only)\n   - Packages that do not exist yet in nixpkgs\n   - Namespaced for different platforms (c, rust, etc...)\n   - Generally zigPkgs is expected to compile and work while pkgs from nixpkg can be hit and miss\n\nFor other stuff, run `things-to-do`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCloudef%2Fnix-zig-stdenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCloudef%2Fnix-zig-stdenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCloudef%2Fnix-zig-stdenv/lists"}