chore: update beads 0.49.6→0.52.0 and gastown, make gastown a proper flake
All checks were successful
CI / check (push) Successful in 6m4s
CI / build-and-cache (push) Successful in 8m20s

- beads: update to 0.52.0 (16af00d7), refresh vendorHash
- gastown: update to 35157d02, remove flake=false now that upstream has flake.nix
- gastown: add inputs.nixpkgs.follows and inputs.beads.follows to deduplicate deps
- Clean up stale comments

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-02-18 09:44:11 -08:00
parent 4dd53a0dd0
commit c39f711662
4 changed files with 60 additions and 22 deletions

View File

@@ -5,11 +5,10 @@ with lib;
let
cfg = config.home.roles.development;
# Build beads from flake input with corrected vendorHash
# The upstream default.nix has stale vendorHash for commits with server mode
# Build beads from flake input
beadsRev = builtins.substring 0 8 (globalInputs.beads.rev or "unknown");
# nixpkgs ships Go 1.25.5, but beads' dolt deps require Go >= 1.25.6
# beads' dolt deps require Go >= 1.25.6 (GOTOOLCHAIN=auto can't download in sandbox)
go_1_25_6 = pkgs.go_1_25.overrideAttrs (old: rec {
version = "1.25.6";
src = pkgs.fetchurl {
@@ -21,12 +20,11 @@ let
beadsPackage = buildGoModule_1_25_6 {
pname = "beads";
version = "0.49.6-${beadsRev}";
version = "0.52.0-${beadsRev}";
src = globalInputs.beads;
subPackages = [ "cmd/bd" ];
doCheck = false;
# Regenerated vendorHash for commit 6a51223b (dolt server mode, Go 1.25.6)
vendorHash = "sha256-9RMy0+ZBFg1BAl8Z0EuZK4XVm9QYVekS9i/1ErOIB/c=";
vendorHash = "sha256-M+JCxrKgUxCczYzMc2czLZ/JhdVulo7dH2YLTPrJVSc=";
nativeBuildInputs = [ pkgs.git pkgs.pkg-config ];
buildInputs = [ pkgs.icu ];
meta = with lib; {
@@ -37,7 +35,7 @@ let
};
};
# Gastown - multi-agent workspace manager (no upstream flake.nix yet)
# Gastown - multi-agent workspace manager
# Source is tracked via flake input for renovate updates
gastownRev = builtins.substring 0 8 (globalInputs.gastown.rev or "unknown");
gastownPackage = pkgs.buildGoModule {