I don't know if this suits you, but I've found that exposing files can work as a compromise in some cases, like for example:
--expose=/run/user/"$(id -u)"/pulse
I don't know if this suits you, but I've found that exposing files can work as a compromise in some cases, like for example:
--expose=/run/user/"$(id -u)"/pulse
Thanks
@otterz and
@vlkr . The key options to get sound in my case were these:
--preserve="^XDG_RUNTIME_DIR$"
--expose=$XDG_RUNTIME_DIR/pulse
Just in case it is useful for anyone else, I was trying to run a game I wrote in Godot, and then exported for binary distribution.
The screenshots show the resulting guix shell command and a manifest with the minimum requirements to run the containerized game.
Thanks again for your help ๐
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.online/users/luis_felipe/statuses/113829448757559030 on your instance and quote it. (Note that quoting is not supported in Mastodon.)