Hello here, I came across this project on X and I have been testing it out, I will like to make it available for my OS and workspace and for others alike.
The problem
The existing Go tooling works. This request adds a Nix option on top. It does
not change the current workflow. Today two gaps remain:
- NixOS and Nix package users cannot install pgbot from nixpkgs.
- Nix users cannot start a pinned dev environment with
nix develop.
Proposal
Add three small Nix files to the repository root. Then submit the package
recipe to nixpkgs.
The recipe exists and builds. Local validation is complete:
package.nix builds pgbot versions with buildGoModule. Unit tests pass in
the sandbox.
flake.nix provides nix build .#pgbot and nix develop with pinned
Go 1.25 and golangci-lint.
- Builds verified on x86_64-linux. aarch64-linux verified by cross compilation.
Tasks — repository
Tasks — nixpkgs
Follow-up
Hello here, I came across this project on X and I have been testing it out, I will like to make it available for my OS and workspace and for others alike.
The problem
The existing Go tooling works. This request adds a Nix option on top. It does
not change the current workflow. Today two gaps remain:
nix develop.Proposal
Add three small Nix files to the repository root. Then submit the package
recipe to nixpkgs.
The recipe exists and builds. Local validation is complete:
package.nixbuilds pgbot versions withbuildGoModule. Unit tests pass inthe sandbox.
flake.nixprovidesnix build .#pgbotandnix developwith pinnedGo 1.25 and golangci-lint.
Tasks — repository
package.nix,flake.nix, to the repository root/result(this is build result from my local test) to.gitignorenix build .#pgboton each push and PRTasks — nixpkgs
pgbot-initfrom master.pkgs/by-name/pg/pgbot/package.nix.Follow-up
pgbot: 0.4.X -> 0.4.YPR.