/queued-build-hook

Queue and retry Nix post-build-hook [maintainer=@jfroche]

Primary LanguageNixMIT LicenseMIT

queued-build-hook - a Nix post-build-hook with some superpowers

This is a simple client/daemon combination that allows configurable retries & async queueing of post-build-hooks.

Hacking

Start daemon

go build
rm -f testsock
systemfd -s unix::./testsock -- ./queued-build-hook daemon --hook ./realhook.sh

Run client

go build
./queued-build-hook queue --socket ./testsock