The #4847 reapply brought back tests written when sqlite was still a supported backend; update them to the tombstone contract: - internal/beads: FindDatabasePath returns "" for sqlite metadata (fail closed at store selection) and never creates the database file. - doctor: server health reports the generic non-Dolt warning; the perf refusal message names the backend without a support claim. - examples/library-usage: exercise the API against embedded Dolt instead of the removed sqlite backend. Also sweep stragglers flagged in review: bd sql help text, conformance audit provenance comments, the test-strategy example path, and a comment tying the flake devShell sqlite3 CLI to the legacy migration scripts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
72 lines
1.5 KiB
Nix
72 lines
1.5 KiB
Nix
{
|
|
description = "beads (bd) - An issue tracker designed for AI-supervised coding workflows";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
}:
|
|
let
|
|
systems = [
|
|
"aarch64-darwin"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"x86_64-linux"
|
|
];
|
|
|
|
overlay = import ./overlay.nix self;
|
|
|
|
forAllSystems =
|
|
f:
|
|
nixpkgs.lib.genAttrs systems (
|
|
system:
|
|
f (
|
|
import nixpkgs {
|
|
inherit system;
|
|
overlays = [ overlay ];
|
|
}
|
|
)
|
|
);
|
|
in
|
|
{
|
|
overlays.default = overlay;
|
|
|
|
packages = forAllSystems (import ./packages.nix);
|
|
|
|
apps = nixpkgs.lib.genAttrs systems (
|
|
system:
|
|
rec {
|
|
bd = {
|
|
type = "app";
|
|
program = "${self.packages.${system}.default}/bin/bd";
|
|
};
|
|
default = bd;
|
|
}
|
|
);
|
|
|
|
devShells = forAllSystems (
|
|
pkgs:
|
|
{
|
|
default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
go_1_26
|
|
git
|
|
gopls
|
|
gotools
|
|
golangci-lint
|
|
sqlite # sqlite3 CLI for the legacy pre-Dolt migration scripts (scripts/migrate-sqlite-to-current.sh, scripts/migration-test/)
|
|
];
|
|
shellHook = ''
|
|
echo "beads development shell"
|
|
echo "Go version: $(go version)"
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|