Loading pkgs/by-name/wh/whisper-cpp/package.nix +2 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ nix-update-script, metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken coreMLSupport ? stdenv.hostPlatform.isDarwin && true, config, cudaSupport ? config.cudaSupport, Loading Loading @@ -92,6 +92,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { for target in examples/{bench,command,cli,quantize,server,stream,talk-llama}/CMakeLists.txt; do if ! grep -q -F 'install('; then echo 'install(TARGETS ''${TARGET} RUNTIME)' >> $target ${lib.optionalString stdenv.isDarwin "echo 'install(TARGETS whisper.coreml LIBRARY)' >> src/CMakeLists.txt"} fi done ''; Loading Loading
pkgs/by-name/wh/whisper-cpp/package.nix +2 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ nix-update-script, metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken coreMLSupport ? stdenv.hostPlatform.isDarwin && true, config, cudaSupport ? config.cudaSupport, Loading Loading @@ -92,6 +92,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { for target in examples/{bench,command,cli,quantize,server,stream,talk-llama}/CMakeLists.txt; do if ! grep -q -F 'install('; then echo 'install(TARGETS ''${TARGET} RUNTIME)' >> $target ${lib.optionalString stdenv.isDarwin "echo 'install(TARGETS whisper.coreml LIBRARY)' >> src/CMakeLists.txt"} fi done ''; Loading