koboldcpp: fix metal support (#350307)
This commit is contained in:
commit
c5636b77af
@ -141,6 +141,10 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
|||||||
cp *.so "$out/bin"
|
cp *.so "$out/bin"
|
||||||
cp *.embd "$out/bin"
|
cp *.embd "$out/bin"
|
||||||
|
|
||||||
|
${lib.optionalString metalSupport ''
|
||||||
|
cp *.metal "$out/bin"
|
||||||
|
''}
|
||||||
|
|
||||||
${lib.optionalString (!koboldLiteSupport) ''
|
${lib.optionalString (!koboldLiteSupport) ''
|
||||||
rm "$out/bin/kcpp_docs.embd"
|
rm "$out/bin/kcpp_docs.embd"
|
||||||
rm "$out/bin/klite.embd"
|
rm "$out/bin/klite.embd"
|
||||||
|
Loading…
Reference in New Issue
Block a user