chore: fix package.nix
This commit is contained in:
parent
9dcbd4c3e0
commit
7f62c457ad
|
|
@ -37,6 +37,14 @@ Podの状態から純粋に再現可能で、且つ揮発性の無い操作で
|
|||
|
||||
---
|
||||
|
||||
## 検証
|
||||
|
||||
コード・パッケージング・runtime resource・prompt に関わる変更は、完了前に `nix build .#yoi`(または同等の flake package build)を通して確認すること。`cargo test` / `cargo check` が通っていても Nix packaging 側で壊れることがあるため、Nix build を別途確認する。
|
||||
|
||||
docs-only など Nix build の価値が低い変更で省略する場合は、完了報告で省略理由を明示すること。
|
||||
|
||||
---
|
||||
|
||||
## Work item / Ticket の運用について
|
||||
|
||||
作業管理は `work-items/` と `tickets.sh` を正とする。時系列・状態遷移の最終的な根拠は git history なので、work item の作成・更新・レビュー・完了はファイル操作と commit で表現する。
|
||||
|
|
|
|||
|
|
@ -91,10 +91,6 @@ rustPlatform.buildRustPackage rec {
|
|||
# derivation is scoped to packaging the user-facing binaries.
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 docs/environment.md "$out/share/doc/yoi/environment.md"
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
|
@ -109,8 +105,6 @@ rustPlatform.buildRustPackage rec {
|
|||
fi
|
||||
grep -q "invalid --session UUID" yoi.err
|
||||
|
||||
test -f "$out/share/doc/yoi/environment.md"
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user