koboldcpp: fix metal support (#350307)

This commit is contained in:
Masum Reza 2024-10-24 17:22:27 +05:30 committed by GitHub
commit c5636b77af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,6 +141,10 @@ effectiveStdenv.mkDerivation (finalAttrs: {
cp *.so "$out/bin"
cp *.embd "$out/bin"
${lib.optionalString metalSupport ''
cp *.metal "$out/bin"
''}
${lib.optionalString (!koboldLiteSupport) ''
rm "$out/bin/kcpp_docs.embd"
rm "$out/bin/klite.embd"