consider the following: SEGA Saturn
make[2]: Entering directory '/home/Xerz/mednafen/src'
windres -DHAVE_CONFIG_H -I../include -D_LFS64_LARGEFILE=1 -I/clangarm64/include -o drivers/win-resource.o drivers/win-resource.rc
llvm-rc: Error parsing file: Invalid token found at position 39
make[2]: *** [Makefile:6777: drivers/win-resource.o] Error 1
interesting, just used MPV and realized that this might be a Nix-related issue after all
ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pulse.so (/nix/store/yfbb7dngvzzz8dgnvbdxm6kdqf34z75p-alsa-lib-1.2.13/lib/alsa-lib/libasound_module_pcm_pulse.so: cannot open shared object file: No such file or directory)
apparently a solution for the Nix issue was only added last year https://github.com/NixOS/nixpkgs/pull/277180
at least it’s acknowledged
For now, this requires pointing to a different package in the derivations. Once we’re fine with the rebuild, we might rename
alsa-libto something likealsa-lib-wrappedand renamealsa-lib-with-pluginstoalsa-libin order to enable plugin loading for all packages fully transparently.