diff --git a/pkgs/by-name/ko/koboldcpp/package.nix b/pkgs/by-name/ko/koboldcpp/package.nix index 5d9e6f1b2125..df10f0a4fd81 100644 --- a/pkgs/by-name/ko/koboldcpp/package.nix +++ b/pkgs/by-name/ko/koboldcpp/package.nix @@ -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"