开发
本文覆盖需要 clone 仓库的本地 flake 用法。远程 flake 用法见 README。
git clone https://github.com/moraxyc/deepseek-harness.nix.gitcd deepseek-harness.nix本地 Flake 用法
Section titled “本地 Flake 用法”以下命令都需要在本仓库目录内执行:
nix build .#dshnix build .#presets.tuinix build .#bundles.tuinix run .#default -- --versionnix run .#dsh-desktoppackages 提供 dsh、dsh-desktop、dsh-kernel、dsh-workspace。
bundles.* 和 presets.* 通过 legacyPackages 暴露,因此
nix build .#bundles.tui 和 nix run .#presets.tui 这类引用同样可用。完整
目录见 Bundles 和预设。
nix develop默认开发 shell 包含 jq、nix-update、nixfmt、pre-commit 和
yq-go。pre-commit 和 flake checks 会在提交/推送前运行。
nix fmtnix flake checknix build .#docs-sitecd docs-sitenpm cinpm run build更新锁文件:
nix flake updatenix flake update --flake ./modules/flake-parts/dev所有用户可见文档保持中英双语,分别位于
docs-site/src/content/docs/ 和 docs-site/src/content/docs/zh/。