Skip to content

chore: bump nixpkgs to pick up libwebsockets plugin path fix - #155

Merged
lionello merged 2 commits into
masterfrom
chore/bump-nixpkgs
Jul 29, 2026
Merged

chore: bump nixpkgs to pick up libwebsockets plugin path fix#155
lionello merged 2 commits into
masterfrom
chore/bump-nixpkgs

Conversation

@defangdevs

Copy link
Copy Markdown
Owner

Bumps the flake's single input, nixpkgs (tracking nixos-unstable), from b5aa0fbd538984f6e3d201be0005b4463d8b09f8 (2026-06-29) to 624af665418d3c65d544145b4d34ad696439570e (2026-07-26).

Motivation

This picks up NixOS/nixpkgs#532936 ("libwebsockets: fix plugin search path", merged 2026-07-02), which fixes ttyd 1.7.7 dying at startup with:

lws_create_context: failed to load evlib_uv

on the previous lock. Fixes #77.

Validation

  • nix eval --raw .#nixosConfigurations.vm.config.system.build.vm.drvPath succeeds locally on the new lock; no module changes were needed.
  • CI runs the full VM tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KcxC9a8wWApTSdAxKfpkGs

lionello and others added 2 commits July 29, 2026 17:34
Updates the nixpkgs input (nixos-unstable) from b5aa0fbd (2026-06-29)
to 624af665 (2026-07-26).

Motivation: this picks up NixOS/nixpkgs#532936 ("libwebsockets: fix
plugin search path", merged 2026-07-02), which fixes ttyd 1.7.7 dying
at startup with `lws_create_context: failed to load evlib_uv` on the
previous lock (issue #77).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KcxC9a8wWApTSdAxKfpkGs
624af66 pulls in NixOS/nixpkgs#522372, which switched systemd-python to
systemdLibs and silently broke journal reading: journal.Reader() opens
but never returns entries, so fail2ban's systemd backend matches nothing
and the web-fail2ban VM test never sees a ban (CI run 30476011178 — the
only failing test in that run, and it passes on master's older lock).

Pin 7578a0a (2026-07-11 18:44Z) instead. It still carries the
libwebsockets plugin-path fix this PR is after — verified via the
cmake/lws_config.h.in substitution, and ttyd loads with no
"failed to load evlib_uv" — but predates the regression, so
systemd-python builds against full systemd-261 rather than
systemd-minimal-libs-261. flake.nix keeps ref = nixos-unstable.

Re-bump once the revert NixOS/nixpkgs#546971 lands.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PsqGhkpjsb4kKAdVz25xKN
@lionello
lionello merged commit 88252a3 into master Jul 29, 2026
1 check passed
@lionello
lionello deleted the chore/bump-nixpkgs branch July 29, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vm/dev: ttyd broken on flake-locked nixos-unstable (libwebsockets missing evlib_uv)

2 participants