Commit graph

9 commits

Author SHA1 Message Date
julianknutsen
7111e241e8 flake.lock: Update 2026-05-17 01:44:46 +00:00
matt wilkie
b5448ef41f Fix Nix lock hash (bd-7mh.6) 2026-04-28 07:08:28 -07:00
matt wilkie
b0ab39e5c9 Refresh Nix lock target (bd-7mh.6) 2026-04-28 07:05:50 -07:00
matt wilkie
e9ebb2bc4d Fix Nix CI Go toolchain selection (bd-7mh.6) 2026-04-28 07:00:35 -07:00
m4dc4p
8ec8f705b1
Update nix install for v1.0.0 (#3064)
* Beads / dolt requires ICU libraries and headers for https://github.com/dolthub/go-icu-regex - added
* Refactor nix slightly for ergonomics.
* Remove unnecessary overlay
2026-04-07 20:07:07 -07:00
beads/crew/collins
7f41edd9c4 feat(nix): modernize flake for nixpkgs-25.11, fix-merge PR #2314
Switch from nixpkgs-unstable to nixpkgs-25.11 which has Go 1.25.6.
Drop flake-utils in favor of inline forAllSystems helper (modern convention).
Refactor default.nix to follow callPackage conventions (explicit deps).
Extract packages.nix for cleaner separation.

Adjustments from original PR:
- Removed unnecessary icu/pkg-config deps (no CGO/ICU usage in beads)
- Removed commented-out dead overlay code
- Preserved shell completion sub-packages (fish/bash/zsh)

Closes #2314

Co-Authored-By: Nick Zadrozny <nz@omc.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 17:24:10 -08:00
John Jorgensen
4673b0042b Update nix so beads builds (with latest go) 2026-02-26 06:49:34 -05:00
Joseph Turian
8566c342a2 fix(nix): update flake.lock, remove CI workaround
Update flake.lock from Oct 2025 (Go 1.25.1) to Feb 2026 (Go 1.25.5)
using `docker run nixos/nix nix flake update`. Build verified with
`nix build .#default` in the same container.

This makes the temporary `nix flake update` step in CI unnecessary,
so remove it. Closes #1575.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 21:52:33 -05:00
Willi Ballenthin
e89cfbf473 feat: Add Nix flake for declarative builds
Add flake.nix with computed vendorHash for Go dependencies. The flake
supports all major platforms (x86_64/aarch64 Linux and macOS) and
builds the bd binary from cmd/bd.

Removed unnecessary postInstall section as buildGoModule already names
the binary correctly from subPackages.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

perf: Use self input instead of ./. for faster Nix evaluation

Replace src = ./. with src = self in flake.nix to reduce unnecessary
file copying during evaluation. This eliminates the Nix warning about
evaluation performance.
2025-10-15 13:45:05 +02:00