mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ffmpeg-headless: disable cuda-llvm support on Darwin
After https://github.com/NixOS/nixpkgs/pull/518519, Clang is unwrapped when cuda-llvm support is enabled when building ffmpeg. This causes ffmpeg-headless to fail to build on Darwin because its `configure` script cannot find dependencies due to using an unwrapped compiler. Since Cuda isn’t supported on Darwin anyway, disabling cuda-llvm has the effect of using a wrapped Clang on Darwin again.
This commit is contained in:
parent
49a170c0da
commit
c214e8a812
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@
|
|||
withChromaprint ? withFullDeps, # Audio fingerprinting
|
||||
withCodec2 ? withFullDeps, # codec2 en/decoding
|
||||
withCuda ? withFullDeps && withNvcodec,
|
||||
withCudaLLVM ? withHeadlessDeps,
|
||||
withCudaLLVM ? withHeadlessDeps && !stdenv.hostPlatform.isDarwin, # Cuda isn’t supported on Darwin
|
||||
withCudaNVCC ? withFullDeps && withUnfree && config.cudaSupport,
|
||||
withCuvid ? withHeadlessDeps && withNvcodec,
|
||||
withDav1d ? withHeadlessDeps, # AV1 decoder (focused on speed and correctness)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue