Commit Graph

3 Commits

Author SHA1 Message Date
Vitus 832c04a23f
feat(nix): 添加nix alias,formatter,以及更好的提示与原make命令集成 (#1661)
* - chore:加了一条一键启动的命令

* chore(nix): 添加nixfmt格式化器并整合devShell配置

  - 添加treefmt-nix和nixfmt-rfc-style作为项目formatter
  - 将tools/nix-dev-shell的devShell配置合并到根目录flake.nix
  - 新增rust-toolchain到devShell的buildInputs
  - 格式化所有.nix文件并排除.direnv目录
  - 移除已废弃的tools/nix-dev-shell目录

* fix

* fix

* fix:构建完后直接退出
fix:  qemu 参数分开写的不支持问题

* fix

* fix

* fix:delete result

* remove 快速启动 hint

* Update Makefile

---------

Co-authored-by: Samuel Dai <samuka007@dragonos.org>
2026-01-28 00:17:18 +08:00
Vitus 4101daa317
fix(doc), chore(nix): 文档nix run package名字不对应 更新qemu-system-data包使用deb snapshot archieve (#1570)
* fix: 修复启动package名字不正确的问题

* chore(deps):更新qemu-system-data_10.1.3+ds-1_all.deb包链接
2025-12-29 14:51:04 +08:00
Samuel Dai f031e61716
feat(build): replace rootfs and user space app creation with nix base scripts (#1505)
Implement
- userland build in nix, with cross platform support and 
non-previleged disk gen
- qemu start command in nix
- nix develop envrionment for make kernel
- document build environment defined by nix

Next Steps
- 减小rootfs占用nix store的体积
- deb包的打包兼容用的函数
- 更加灵活的构建依赖注入
- 保留先前系统内修改的内容
- nix rootfs build与qemu启动适配 vnc模式
- 适配 riscv64 构建
- Arm MacOS上的开发兼容
2025-12-26 18:36:13 +08:00