Skip to content

v0.4.0

Latest

Choose a tag to compare

@kleinbem kleinbem released this 13 Nov 14:32
31a0e6f
  • Standalone package.nix (pkgs.callPackage ./package.nix { }) bundles the
    CLI, release/PR helpers, overlay expressions and built web dashboard into
    one derivation with offline fetchNpmDeps and nix-detour --version.

  • nix-detour check keeps each PR entry's untilChannel unless --channel
    is passed; pr add, pr pin and pr remove take a file lock so concurrent
    runs don't overwrite each other's entries.

  • pr add: shorthand syntax accepts PR number or GitHub pull request URL
    directly (pr add 587609 or pr add <url>), auto-detecting fork repository,
    package attributes (from pkgs/by-name), NixOS modules, and latest commit
    SHA from GitHub. Supports --pin and --no-pin.

  • pr pin: omitting the commit SHA re-pins the entry to its latest head commit
    from GitHub; --all updates all active entries in the file in one command.

  • pr check: upstream PR state and channel landing checks run concurrently in
    parallel.

  • Update action: lists holds a target still has unheld (new unreached
    output and report section), from a package set the holds overlay doesn't
    reach. On 2026-11-11 a buzz-cli hold changed nothing: cadre's home-manager
    module installed buzz-app from its own flake's packages. lib.watch.unreached
    is the check in Nix.

  • Update action: skip-unmoved: true does nothing unless the lock moves
    input from base's revision (new moved output), so the action can run
    on every PR that touches the lock. On 2026-11-11 a hand-made nixpkgs bump
    in kleinbem/nix-config#737 broke five packages that no update run saw.

  • hold-release action: open-prs: false only checks, and the new held
    output lists the holds that still fail. Pass another system's held to
    keep so a hold goes only when it builds on every system you use.
    token is needed only when the action opens PRs.

  • Update action: a failed download is not a broken package. Builds use
    --fallback, a failed build is retried once on its own, and one that
    still fails on a network error (a 5xx or 429 from a cache or source,
    DNS, connect, timeout) is reported as unavailable and never held. A
    404 still counts as broken. On 2026-11-02 a 502 from a binary cache
    would otherwise have been reported as a package to hold.

  • Update action: commit mode commits only onto the commit it checked out,
    which on a pull_request event must be the PR head (not the merge commit);
    a push to the branch during the run fails the commit instead of putting
    holds checked on the old lock onto the new one. The check compares
    commits: a branch whose head is another commit fails. With holds-repo
    the holds go into a new PR there, so this check doesn't apply. The previous nixpkgs comes
    from the flake directory's flake.lock (it was the repository root's),
    and the token falls back to the workflow's, so report mode can clone a
    public holds-repo without one.

  • pr-pin action: rev must be a full commit SHA. pr-merged action: the PRs
    file is left as it is on the branch for later steps. The actions' commits
    work on macOS runners too.

  • hold check: a hold with a malformed since is still checked.

  • PRs: an entry's pythonPackages go into every Python package set (from
    pkgs/development/python-modules/<name>, or paths."python3Packages.<name>"),
    finding the entry's own packages first. A scope from paths (a
    makeScope like mesh-llmPlugins) works as before, and the checks now
    list its packages one by one (<scope>.<name>), so pr eval and
    merged cover each of them.

  • PRs: merged needs a version on both sides. A PR package without a version
    stays until you remove its entry, instead of counting as merged as soon as
    nixpkgs has the attribute.

  • Update action: build: fetches builds only the fixed-output derivations
    (sources, vendored dependencies) of the watched packages no substituter
    has. A hash mismatch never shows in an evaluation; this finds it without
    compiling the packages, and the report has the hash nix got.

  • Fixes: a held package can carry patches (URLs pinned by hash, or files
    next to the holds file) and an override file, and from = "current"
    fixes the package of your own nixpkgs instead of holding an older one.
    A fix ends like a hold, once the unfixed package builds from
    nixos-unstable. CLI: nix-detour fix add NAME --patch … | --override …
    (and --patch, --override, --from current on hold add).

  • Web dashboard: holds, fixes, PRs (including shorthand auto-detection and
    pythonPackages) and releases go through the CLI, so revisions, patch URLs
    and PR head commits are pinned by hash. Supports light and dark themes, font
    scaling, native <dialog> modals, TTL-cached PR status checks, and true
    empty local files without loading sample data over them. The server refuses
    cross-site requests, and imported data stays in the page instead of writing
    to disk.