Skip to content

Commit f47f68a

Browse files
committed
openai-whisper-cpp: use pkgs.autoAddDriverRunpath
1 parent 126759e commit f47f68a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkgs/tools/audio/openai-whisper-cpp/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
, MetalKit
1313

1414
, config
15+
, autoAddDriverRunpath
1516
, cudaSupport ? config.cudaSupport
1617
, cudaPackages ? {}
1718
}:
@@ -42,11 +43,10 @@ effectiveStdenv.mkDerivation (finalAttrs: {
4243
nativeBuildInputs = [
4344
which
4445
makeWrapper
45-
] ++ lib.optionals cudaSupport ( with cudaPackages ;[
46-
cuda_nvcc
47-
46+
] ++ lib.optionals cudaSupport [
47+
cudaPackages.cuda_nvcc
4848
autoAddDriverRunpath
49-
]);
49+
];
5050

5151
buildInputs = [
5252
SDL2

0 commit comments

Comments
 (0)