openai-whisper-cpp: use pkgs.autoAddDriverRunpath
This commit is contained in:
parent
126759eb58
commit
f47f68a7fb
|
@ -12,6 +12,7 @@
|
|||
, MetalKit
|
||||
|
||||
, config
|
||||
, autoAddDriverRunpath
|
||||
, cudaSupport ? config.cudaSupport
|
||||
, cudaPackages ? {}
|
||||
}:
|
||||
|
@ -42,11 +43,10 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
|||
nativeBuildInputs = [
|
||||
which
|
||||
makeWrapper
|
||||
] ++ lib.optionals cudaSupport ( with cudaPackages ;[
|
||||
cuda_nvcc
|
||||
|
||||
] ++ lib.optionals cudaSupport [
|
||||
cudaPackages.cuda_nvcc
|
||||
autoAddDriverRunpath
|
||||
]);
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
|
|
Loading…
Reference in New Issue