Skip to content

fix(nix): fix ALSA mismatch, add GStreamer plugins, and repair UI environment#787

Merged
cjpais merged 1 commit intocjpais:mainfrom
kakapt:fix-alsa-mismatch
Feb 11, 2026
Merged

fix(nix): fix ALSA mismatch, add GStreamer plugins, and repair UI environment#787
cjpais merged 1 commit intocjpais:mainfrom
kakapt:fix-alsa-mismatch

Conversation

@kakapt
Copy link
Copy Markdown
Contributor

@kakapt kakapt commented Feb 11, 2026

Before Submitting This PR

Please confirm you have done the following:

Human Written Description

I've encountered this issue:

ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/z8pz8hz2psggqsws4n7mzbbdghpcxm71-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/szmfcymkkxkfb6yrg2mg9h4g9lsh80b2-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/z8pz8hz2psggqsws4n7mzbbdghpcxm71-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/szmfcymkkxkfb6yrg2mg9h4g9lsh80b2-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/z8pz8hz2psggqsws4n7mzbbdghpcxm71-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/szmfcymkkxkfb6yrg2mg9h4g9lsh80b2-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/z8pz8hz2psggqsws4n7mzbbdghpcxm71-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside
ALSA lib pcm.c:2713:(snd_pcm_open_conf) Either /nix/store/szmfcymkkxkfb6yrg2mg9h4g9lsh80b2-pipewire-1.4.9/lib/alsa-lib/libasound_module_pcm_pipewire.so cannot be opened or _snd_pcm_pipewire_open was not defined inside

AI Assistance

  • No AI was used in this PR
  • AI was used (please describe below)

If AI was used:

  • Tools used: Gemini 3.0
  • How extensively:
    • Use it to summarize the commit
    • Use it to find out why GTK is not function correctly in the devshell

…ironment

  - Update `flake.lock` to synchronize `alsa-lib` and `glibc` versions, resolving a runtime `dlopen` crash when loading the PipeWire plugin.
  - Add `gstreamer`, `gst-plugins-base`, `good`, `bad`, and `ugly` to both `buildInputs` (package) and `devShell` to support WebKitGTK audio/video playback (resolving missing `appsink`/`autoaudiosink`).
  - Set `GST_PLUGIN_SYSTEM_PATH_1_0` in both environments so GStreamer can locate the plugins at runtime.
  - Manually set `XDG_DATA_DIRS` in `devShell` to include `gsettings-desktop-schemas` and `gtk3` schemas, fixing UI scaling, theming, and missing asset issues during development.
@cjpais cjpais merged commit 336ccff into cjpais:main Feb 11, 2026
4 checks passed
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.

3 participants