]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix Nix build
authorBen Siraphob <redacted>
Wed, 22 Mar 2023 05:37:02 +0000 (00:37 -0500)
committerPavol Rusnak <redacted>
Thu, 23 Mar 2023 16:51:26 +0000 (17:51 +0100)
flake.nix

index da4bd7ba3f2b44de20eb0adc3002adb63bfdc7a2..4c2717e0d8a085313daaf836cb436d791fe674ac 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -28,8 +28,8 @@
           ];
           installPhase = ''
             mkdir -p $out/bin
-            mv llama $out/bin/llama
-            mv quantize $out/bin/quantize
+            mv bin/main $out/bin/llama
+            mv bin/quantize $out/bin/quantize
             echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml
             cat ${./convert-pth-to-ggml.py} >> $out/bin/convert-pth-to-ggml
             chmod +x $out/bin/convert-pth-to-ggml