Builds from the flake add the commit they are from to the version, as semver build metadata: 0.3.0+2d59b59, or 0.3.0+2d59b59-dirty from an uncommitted tree (Nix's dirtyShortRev). A plain cargo build still says 0.3.0.
It shows:
in the web app's header;
in --version, which slop and slop-broker now take;
in the broker's error for an old protocol, so a stale client says which broker it reached.
The commit goes into the derivation, so every commit rebuilds the package, including commits that only touch nix/ or docs. For nixfiles that only happens when the pin moves.
Builds from the flake add the commit they are from to the version, as semver build metadata: `0.3.0+2d59b59`, or `0.3.0+2d59b59-dirty` from an uncommitted tree (Nix's `dirtyShortRev`). A plain `cargo build` still says `0.3.0`.
It shows:
- in the web app's header;
- in `--version`, which `slop` and `slop-broker` now take;
- in the broker's error for an old protocol, so a stale client says which broker it reached.
The commit goes into the derivation, so every commit rebuilds the package, including commits that only touch `nix/` or docs. For nixfiles that only happens when the pin moves.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Builds from the flake show the commit they are from in the version,
like `0.3.0+2d59b59`, or `0.3.0+2d59b59-dirty` with uncommitted
changes. It shows in the web app, in `--version`, which `slop` and
`slop-broker` now take, and in the error for an old protocol.
The commit is part of the build, so every commit rebuilds the package.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev
merged commit 70a42f6a21 into main2026-11-29 18:47:33 +00:00
dev
deleted branch build-version2026-11-29 18:47:33 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Builds from the flake add the commit they are from to the version, as semver build metadata:
0.3.0+2d59b59, or0.3.0+2d59b59-dirtyfrom an uncommitted tree (Nix'sdirtyShortRev). A plaincargo buildstill says0.3.0.It shows:
--version, whichslopandslop-brokernow take;The commit goes into the derivation, so every commit rebuilds the package, including commits that only touch
nix/or docs. For nixfiles that only happens when the pin moves.🤖 Generated with Claude Code