{"id":22343910,"url":"https://github.com/miou-zora/raylib-zig-nix","last_synced_at":"2026-04-27T18:34:11.061Z","repository":{"id":233170300,"uuid":"786171708","full_name":"Miou-zora/Raylib-Zig-Nix","owner":"Miou-zora","description":"Minimal project for Raylib + Zig (0.13.0) + Nix","archived":false,"fork":false,"pushed_at":"2025-03-31T02:23:57.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T06:03:17.006Z","etag":null,"topics":["nix","raylib","raylib-zig","wsl","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Miou-zora.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-04-13T16:29:31.000Z","updated_at":"2025-04-10T16:31:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a8d140e-d45f-4158-869a-139ff4f52c96","html_url":"https://github.com/Miou-zora/Raylib-Zig-Nix","commit_stats":null,"previous_names":["miou-zora/raylib-zig-nix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Miou-zora/Raylib-Zig-Nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miou-zora%2FRaylib-Zig-Nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miou-zora%2FRaylib-Zig-Nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miou-zora%2FRaylib-Zig-Nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miou-zora%2FRaylib-Zig-Nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Miou-zora","download_url":"https://codeload.github.com/Miou-zora/Raylib-Zig-Nix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Miou-zora%2FRaylib-Zig-Nix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","raylib","raylib-zig","wsl","zig"],"created_at":"2024-12-04T09:07:00.478Z","updated_at":"2026-04-27T18:34:11.026Z","avatar_url":"https://github.com/Miou-zora.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Flake for Zig + Raylib\n\nThis repository is a Nix flake for building Zig projects with Raylib. It is currently based on the `master` branch of Zig with the [Zig-overlay](https://github.com/mitchellh/zig-overlay). It use the `raylib` package from the Nixpkgs repository.\n\nThis repository is meant to be used as a template for Zig projects that use Raylib. It provides a `flake.nix` file that create a development environment with Zig and Raylib. It also provides a `build.zig` file that can be used to build the project.\n\n\u003e [!NOTE]\n\u003e It's a direct raylib binding from C to Zig. It's not a wrapper around the C library.\n\n## :bookmark_tabs: \u003csamp\u003eRequirements\u003c/samp\u003e\n\n- :cherry_blossom: \u003csamp\u003e[Nix](https://nixos.org/download.html)\u003c/samp\u003e\n\n\u003e [!IMPORTANT]\n\u003e You will need to enable `nix-command` and `flakes`experimental features\n\u003e If you get an error about it, consider this command:\n\u003e `mkdir -p ~/.config/nix \u0026\u0026 echo \"experimental-features = nix-command flakes\" | tee ~/.config/nix/nix.conf`\n\n## :zap: \u003csamp\u003eUsage\u003c/samp\u003e\n\n### :wrench: \u003csamp\u003eSetup\u003c/samp\u003e\n\nClone this repository and run `nix develop` to enter the development environment\n```shell\ngit clone https://github.com/Miou-zora/Raylib-Zig-Nix.git\ncd Raylib-Zig-Nix\nnix develop\n```\n\n\u003e [!WARNING]\n\u003e Don't forget to remove the `.git` folder if you want to use this repository for a project.\n\u003e\n\u003e Rename every `name_of_your_project` in the project by the name of your project.\n\n\n### :construction_worker: \u003csamp\u003eBuilding\u003c/samp\u003e\n\n```shell\nzig build\n```\n\n\n### :rocket: \u003csamp\u003eRunning\u003c/samp\u003e\n\n\n```shell\n# It will build the project and run it. (do nothing if the project is already built)\nzig build run\n# or you can run the executable directly\n./zig-out/bin/[name_of_your_project]\n```\n\n\u003e [!NOTE]\n\u003e `nix build` is not supported yet. If you try to use it, it will create a `result` symlink that contain the executable BUT musl isn't linked correctly to binary. It would be appreciated if someone could help me to fix this issue.\n\n### :heavy_plus_sign: \u003csamp\u003eUsing direnv\u003c/samp\u003e\n\nYou may load the devShell automatically using [direnv](https://direnv.net)\nshell integration.\n\n```\necho \"use flake\" | tee .envrc\ndirenv allow\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiou-zora%2Fraylib-zig-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiou-zora%2Fraylib-zig-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiou-zora%2Fraylib-zig-nix/lists"}