{"id":18478350,"url":"https://github.com/blitz/kernel-dev","last_synced_at":"2025-04-08T15:32:32.768Z","repository":{"id":229650132,"uuid":"777272038","full_name":"blitz/kernel-dev","owner":"blitz","description":"Instant Linux kernel development environments via Nix devShells","archived":false,"fork":false,"pushed_at":"2025-03-06T19:17:47.000Z","size":42,"stargazers_count":23,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T15:43:42.788Z","etag":null,"topics":["flakes","linux","nix","rust"],"latest_commit_sha":null,"homepage":"","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/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-03-25T14:37:11.000Z","updated_at":"2025-03-11T16:53:26.000Z","dependencies_parsed_at":"2024-05-08T09:30:27.508Z","dependency_job_id":"56ab736b-d295-4cf4-a567-88392b167178","html_url":"https://github.com/blitz/kernel-dev","commit_stats":null,"previous_names":["blitz/kernel-dev"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fkernel-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fkernel-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fkernel-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blitz%2Fkernel-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blitz","download_url":"https://codeload.github.com/blitz/kernel-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247871434,"owners_count":21010043,"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":["flakes","linux","nix","rust"],"created_at":"2024-11-06T12:09:46.974Z","updated_at":"2025-04-08T15:32:27.756Z","avatar_url":"https://github.com/blitz.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Kernel Development Environment via Nix\n\nWelcome to a streamlined Linux kernel development setup using Nix\nflakes. This project simplifies the process of setting up a\ndevelopment environment for the Linux kernel, ensuring that you have\nall the necessary dependencies, including specific versions of Rust\nand bindgen, preinstalled in a devShell.\n\n## Quick Start\n\nGetting started with your kernel development environment is incredibly\nsimple. If you're aiming to develop for Linux version 6.8, all you\nneed is a single command:\n\n```shell\nlinux$ nix develop github:blitz/kernel-dev#linux_6_8\n```\n\nThis will drop you into a shell with all the dependencies required for\nworking on the Linux 6.8 kernel preinstalled.\n\n### Features\n\n- **Simplicity**: Forget about the hassle of managing multiple\n  dependencies and their versions. One command is all it takes.\n- **Reproducibility**: With Nix flakes, your development environment\n  is reproducible, ensuring that your setup is always consistent and\n  predictable.\n- **Version-specific environments**: Tailored development environments\n  for specific Linux kernel versions, starting with Linux 6.8.\n- **Rust and LLVM-enabled**: Ready for the future of kernel development!\n\n### Requirements\n\n- Nix package manager with flake support enabled.\n\n## Usage\n\nTo start developing for a different version of the Linux kernel, use\nthe following pattern, replacing linux_6_8 with the target version\n(note: versions are added based on community contributions and\ndemand):\n\n```shell\n$ nix develop github:blitz/kernel-dev#linux_\u003cmajor_version\u003e_\u003cminor_version\u003e\n```\n\nThis will drop you in a shell with `clang` and `rustc` matching the\nkernel version. If you need a `gcc`-based environment, use:\n\n```shell\n$ nix develop github:blitz/kernel-dev#linux_\u003cmajor_version\u003e_\u003cminor_version\u003e_gcc\n```\n\nIf you don't find the exact version that you need, one that is close\n_might_ work as well.\n\n## Contributing\n\nContributions are welcome! Whether it's adding support for new kernel\nversions, improving the setup process, or documentation - feel free to\nfork the project and submit a pull request.\n\n## License\n\nThis project is open source and available under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblitz%2Fkernel-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblitz%2Fkernel-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblitz%2Fkernel-dev/lists"}