-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpv: Fix mpv 0.29.0 on macOS and disable OpenAL #44368
Conversation
# FIXME: Remove this patch for building on macOS if it gets released in | ||
# the future. | ||
patches = optional stdenv.isDarwin (fetchpatch { | ||
url = https://patch-diff.githubusercontent.com/raw/mpv-player/mpv/pull/6040.patch; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC this is not a good url to use. For instance if you rebase or add commits the sha256 will change. Instead , you should refer to the commit rev like:
https://github.com/mpv-player/mpv/commit/dc553c8cf4349b2ab5d2a373ad2fac8bdd229ebb.patch
8aef969
to
69ed31a
Compare
@GrahamcOfBorg build mpv |
Success on x86_64-linux (full log) Attempted: mpv Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: mpv Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: mpv Partial log (click to expand)
|
Motivation for this change
OpenAL is broken on macOS and not currently worth using. On Linux, either ALSA/JACK/Pulseaudio audio backends would be used and on macOS the CoreAudio backend will be used by default, so using OpenAL does not seem necessary.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)