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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user