fix(ci): skip interactive prompt in nixpkgs update workflow

The nixpkgs update.py script prompts for confirmation before running,
which fails with EOFError in CI since there is no TTY. Pass skip-prompt
to maintainers/scripts/update.nix to bypass the prompt.
This commit is contained in:
kolaente 2026-04-11 16:52:39 +02:00 committed by kolaente
parent 50d6926b56
commit 2796fffbc1
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ jobs:
# Update both packages using the nixpkgs update infrastructure
PACKAGES=""
for pkg in vikunja vikunja-desktop; do
nix-shell maintainers/scripts/update.nix --argstr package "$pkg"
nix-shell maintainers/scripts/update.nix --argstr package "$pkg" --argstr skip-prompt true
if ! git diff --quiet; then
git add -A
NEW=$(grep -oP 'version = "\K[^"]+' "pkgs/by-name/vi/$pkg/package.nix" | head -1)