You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
happy to take a minimal flake.nix as a PR. The repo is already shaped for it - CGO_ENABLED=0 and fully vendored, so buildGoModule with vendorHash = null builds straight from the committed vendor/ tree with no hash to chase on dependency bumps. The ldflag matches the Makefile's -X main.revision, wrapped in flake-utils.eachDefaultSystem that gives you nix run github:umputun/revdiff.
pls keep it to just flake.nix + flake.lock, no extra CI - I'd rather not carry a nix builder in the pipeline, and a pure-go vendored flake is stable enough not to need one.
nixpkgs I'll leave to the community side - an entry there can be authored and updated by anyone without touching this repo, so feel free to own that if you want it.
Activity
adrian-gierakowski commentedon Jun 16, 2026
for example with https://github.com/ahkohd/oyo/blob/main/flake.nix
I can simply do:
nix shell github:ahkohd/oyoand I'm dropped into sub-shell withoyoon pathcan also just
nix run github:ahkohd/oyoumputun commentedon Jun 17, 2026
happy to take a minimal flake.nix as a PR. The repo is already shaped for it -
CGO_ENABLED=0and fully vendored, sobuildGoModulewithvendorHash = nullbuilds straight from the committedvendor/tree with no hash to chase on dependency bumps. The ldflag matches the Makefile's-X main.revision, wrapped inflake-utils.eachDefaultSystemthat gives younix run github:umputun/revdiff.pls keep it to just flake.nix + flake.lock, no extra CI - I'd rather not carry a nix builder in the pipeline, and a pure-go vendored flake is stable enough not to need one.
nixpkgs I'll leave to the community side - an entry there can be authored and updated by anyone without touching this repo, so feel free to own that if you want it.