Skip to content

Commit aef4a7c

Browse files
committed
mpv: fix playback by overriding libplacebo
See NixOS/nixpkgs#412382
1 parent 30a399f commit aef4a7c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

home/mpv.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ in
2020
package = pkgs.mpv-unwrapped.wrapper {
2121
mpv = pkgs.mpv-unwrapped.override {
2222
ffmpeg = pkgs.ffmpeg-full;
23+
24+
libplacebo = pkgs.libplacebo.overrideAttrs (oldAttrs: rec {
25+
version = "7.349.0";
26+
27+
src = pkgs.fetchFromGitLab {
28+
domain = "code.videolan.org";
29+
owner = "videolan";
30+
repo = "libplacebo";
31+
tag = "v${version}";
32+
hash = "sha256-mIjQvc7SRjE1Orb2BkHK+K1TcRQvzj2oUOCUT4DzIuA=";
33+
};
34+
});
2335
};
2436

2537
scripts = with pkgs.mpvScripts; [

0 commit comments

Comments
 (0)