Skip to content

Commit 2796fff

Browse files
committed
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.
1 parent 50d6926 commit 2796fff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/nixpkgs-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
# Update both packages using the nixpkgs update infrastructure
4747
PACKAGES=""
4848
for pkg in vikunja vikunja-desktop; do
49-
nix-shell maintainers/scripts/update.nix --argstr package "$pkg"
49+
nix-shell maintainers/scripts/update.nix --argstr package "$pkg" --argstr skip-prompt true
5050
if ! git diff --quiet; then
5151
git add -A
5252
NEW=$(grep -oP 'version = "\K[^"]+' "pkgs/by-name/vi/$pkg/package.nix" | head -1)

0 commit comments

Comments
 (0)