Merge pull request #273318 from tejing1/mpv-fix-nvdec

mpv: use correct nv-codec-headers version
This commit is contained in:
Nick Cao 2023-12-19 12:11:31 -05:00 committed by GitHub
commit e8e7ee4159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
, freetype
, libass
, libpthreadstubs
, nv-codec-headers
, nv-codec-headers-11
, lua
, libuchardet
, libiconv
@ -198,7 +198,7 @@ in stdenv'.mkDerivation (finalAttrs: {
++ lib.optionals xineramaSupport [ libXinerama ]
++ lib.optionals xvSupport [ libXv ]
++ lib.optionals zimgSupport [ zimg ]
++ lib.optionals stdenv.isLinux [ nv-codec-headers ]
++ lib.optionals stdenv.isLinux [ nv-codec-headers-11 ]
++ lib.optionals stdenv.isDarwin [ libiconv ]
++ lib.optionals stdenv.isDarwin [ CoreFoundation Cocoa CoreAudio MediaPlayer Accelerate ]
++ lib.optionals (stdenv.isDarwin && swiftSupport) [ AVFoundation CoreMedia ];