{"id":18562483,"url":"https://github.com/replit/nixmodules","last_synced_at":"2025-04-10T03:31:55.450Z","repository":{"id":152528774,"uuid":"621541668","full_name":"replit/nixmodules","owner":"replit","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-12T19:11:08.000Z","size":1040,"stargazers_count":31,"open_issues_count":15,"forks_count":3,"subscribers_count":25,"default_branch":"main","last_synced_at":"2024-04-13T21:27:38.131Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/replit.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-30T21:53:53.000Z","updated_at":"2024-04-15T19:28:13.803Z","dependencies_parsed_at":"2023-09-25T23:05:41.336Z","dependency_job_id":"8dc66d01-78b6-4ccd-bc75-0324b49d91d6","html_url":"https://github.com/replit/nixmodules","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/replit%2Fnixmodules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fnixmodules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fnixmodules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replit%2Fnixmodules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replit","download_url":"https://codeload.github.com/replit/nixmodules/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248151083,"owners_count":21056020,"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-11-06T22:09:52.867Z","updated_at":"2025-04-10T03:31:50.433Z","avatar_url":"https://github.com/replit.png","language":"Nix","readme":"# Replit Nix Modules\n\nThis repository holds Replit's Nix modules.\n\n* Each module is located as a folder under `pkgs/modules`\n* `pkgs/modules/default.nix` specifies a list of the active modules, some of which are parameterized with the version of the runtime or compiler\n\nTo list all active modules, you can do:\n\n```\nnix eval .#activeModules --json | jq\n```\nOutput might look like:\n```json\n{\n  \"bun-0.5\": \"/nix/store/l08f5vl1af9rpzd7kvr0l5gx9v7y8p12-replit-module-bun-0.5\",\n  \"c-clang14.0\": \"/nix/store/n4vzd9rkpjs72xj9yvlakxh3bardvdki-replit-module-c-clang14.0\",\n  \"clojure-1.11\": \"/nix/store/giqq76fl3yphzsm6rkl1qxqh4mszknpl-replit-module-clojure-1.11\",\n  \"cpp-clang14\": \"/nix/store/8iv4czda6j5nfhxs80ci625hj91ffpbn-replit-module-cpp-clang14\",\n  \"dart-2.18\": \"/nix/store/mhl58f8y3z6jv0javkmx28y5h9aacw39-replit-module-dart-2.18\",\n  \"dotnet-7.0\": \"/nix/store/06mjna44a7w9bby6r121a7i9a5027qqn-replit-module-dotnet-7.0\",\n  \"go-1.19\": \"/nix/store/y1gb1k8bkyd9jqxi4r1g9qibcqn3c6dm-replit-module-go-1.19\",\n  ...\n}\n```\n\nTo list all modules (including historical modules):\n\n```\nnix eval .#modules --json | jq\n```\nThis will take a while.\n\n\n## Building\n\nFor each of the following examples, the build result will be found in a file or directory named `result`.\n\nTo build all active modules (this will take a while, and a lot of disk space):\n\n```\nnix build .#bundle\n```\n\nTo build only a few modules which you can control by editing the `dev-module-ids` list in `pkgs/default.nix`:\n\n```\nnix build .#custom-bundle\n```\n\nTo build a specific module, for example `python-3.10`, you can do:\n\n```\nnix build .#'\"python-3.10\"'\n```\n\nTo build a disk with only a few modules for development purposes:\n\n```\nnix build .#bundle-squashfs\n```\n\nor\n\n```\nnix build .#custom-bundle-squashfs\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplit%2Fnixmodules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplit%2Fnixmodules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplit%2Fnixmodules/lists"}