fix: Resolve import test failures and add git to Nix build

- Remove broken import special case that created vc.db instead of using found database
- Add git to nativeBuildInputs in default.nix for tests
- Fix path comparison bug (symlink resolution caused prefix mismatch)
This commit is contained in:
Steve Yegge
2025-11-02 00:09:56 -07:00
parent 2b086951c4
commit 20b21fda42
2 changed files with 13 additions and 40 deletions

View File

@@ -11,6 +11,9 @@ pkgs.buildGoModule {
# Go module dependencies hash (computed via nix build)
vendorHash = "sha256-DJqTiLGLZNGhHXag50gHFXTVXCBdj8ytbYbPL3QAq8M=";
# Git is required for tests
nativeBuildInputs = [ pkgs.git ];
meta = with pkgs.lib; {
description = "beads (bd) - An issue tracker designed for AI-supervised coding workflows";
homepage = "https://github.com/steveyegge/beads";