Repository navigation
v0.3.0
Renamed from nix-holds: single packages take a detour from your nixpkgs,
held back while broken or ahead from an open nixpkgs PR, until nixpkgs
catches up.
- The repository is
kleinbem-dev/nix-detour. Web, git and flake URLs
redirect; GitHub Actions'uses:doesn't, so workflows change
kleinbem-dev/nix-holds@tokleinbem-dev/nix-detour/hold-release@and
kleinbem-dev/nix-holds/<action>@tokleinbem-dev/nix-detour/<action>@. - CLI
nix-detour: holds are undernix-detour hold(add,remove,
list,check), next tonix-detour pr. The old top-level commands say
where they went. - The holds' release action is
kleinbem-dev/nix-detour/hold-release, next
topr-pin,pr-mergedandupdate. - Update action (
kleinbem-dev/nix-detour/update): on a lock-update PR, it
finds what the update broke and holds each package on the nixpkgs before
the update, in the same PR (mode: commit) or as a report. After each
round it checks again: what still fails held is reported, not held, and a
failure that shows up only then is held next round (up to 5).- What it checks: targets (
nixDetourTargets,lib.watch.target host),
where the package to hold is found in the error's trace however the host
reaches it; and watched packages (nixDetourWatch,lib.watch.nixosor
lib.watch.packages), each evaluated on its own and built when no
substituter has it. The old output namesnixHoldsWatchand
nixHoldsTargetsstill work, with a warning. - Holds kept in another repository:
holds-repo,holds-inputand
holds-token. It clones that repository, checks through
--override-input, and in commit mode opens a PR there with only its new
holds on top of the file as it is then. directoryandnix-argscover a checkout in a subfolder and flakes
that need--override-input;systemschecks other systems' hosts from
the same runner (evaluation only).- Outputs
held,failedand a Markdownreport.
- What it checks: targets (