Skip to content

v0.3.0

Choose a tag to compare

@kleinbem kleinbem released this 01 Nov 11:13
dad9ec7

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@ to kleinbem-dev/nix-detour/hold-release@ and
    kleinbem-dev/nix-holds/<action>@ to kleinbem-dev/nix-detour/<action>@.
  • CLI nix-detour: holds are under nix-detour hold (add, remove,
    list, check), next to nix-detour pr. The old top-level commands say
    where they went.
  • The holds' release action is kleinbem-dev/nix-detour/hold-release, next
    to pr-pin, pr-merged and update.
  • 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.nixos or
      lib.watch.packages), each evaluated on its own and built when no
      substituter has it. The old output names nixHoldsWatch and
      nixHoldsTargets still work, with a warning.
    • Holds kept in another repository: holds-repo, holds-input and
      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.
    • directory and nix-args cover a checkout in a subfolder and flakes
      that need --override-input; systems checks other systems' hosts from
      the same runner (evaluation only).
    • Outputs held, failed and a Markdown report.