feat: Add dolt package at 2.2.0 #17
No reviewers
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Personal/my-nix-lib!17
Loading…
Reference in a new issue
No description provided.
Delete branch "pkgs/dolt/init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review Summary
Static review (no nix/shell available in this environment to run
nix flake checkornix build .#dolt).Verified as correct:
pkgs/dolt.nixmatches the repo's package convention (flake-agnosticimport ./pkgs/x.nix { ... }likeopenapi-to-rust.nix), thex86_64-linux/aarch64-linuxsets cover exactlylib/system.nix'ssupportedSystems, andmeta.platformsis derived from the same hash set, so every flake output evaluates.installPhasecorrectly wrapsrunHook preInstall/postInstall,mainProgramand theasl20licence are right, andinstallCheckPhaseforces a writableHOME.packagesis now an attrset with both outputs, anddoltis bound once in thesystemOutputslet-block so it's reused bypackagesanddevShells.beads.overridesnippet is valid — nixpkgsbeadstakesdoltas acallPackageargument.nix fmt/mdformat output (padded rows line up with the longest pre-existing rows, which are unchanged).On the findings already in the thread: I agree they're all non-blocking and worth doing — heading hierarchy in README,
runHook pre/postInstallCheck, adding dolt tochecksso CI exercises the pinned hashes and version assertion, and the ~42 MB dev-shell growth. Two small additions below, plus a doc-drift nit.No correctness, security, or performance blockers.
*🤖 Review by opencode (opencode/mimo-v2.6-flash-free) — verdict: approve
Code review findings from opencode.
@ -6,6 +6,18 @@ Reusable Nix library functions, exposed through the flake's `lib` output.All attributes are exposed under the flake's `lib` output and consumed as `my.lib.*`.## Packages@ -0,0 +30,4 @@'';doInstallCheck = true;installCheckPhase = ''Code review findings from opencode.
@ -30,2 +31,3 @@| Check all | `nix flake check` (formatting + rust shape/build checks) || Unit tests | `just unit` or `nix run nixpkgs#nix-unit -- --impure --extra-experimental-features flakes --flake ".#unitTests"` || Dev shell | `nix develop` (provides `just`) || Dev shell | `nix develop` (provides `just`) |@ -9,0 +14,4 @@```nixbeads = pkgs.beads.override {dolt = my-nix-lib.packages.${system}.dolt;@ -0,0 +1,45 @@{ pkgs }:letversion = "2.2.0";hashes = {