]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
nix: use convert.py instead of legacy wrapper convert-pth-to-ggml.py (#981)
authorPavol Rusnak <redacted>
Tue, 25 Apr 2023 21:19:57 +0000 (23:19 +0200)
committerGitHub <redacted>
Tue, 25 Apr 2023 21:19:57 +0000 (23:19 +0200)
flake.nix

index 5363052b1058aae949a5f79813a6cee6ffc81088..2c9edbb6adf640234914547db34ea625af6d52fa 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -30,9 +30,9 @@
             mv bin/* $out/bin/
             mv $out/bin/main $out/bin/llama
 
-            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
+            echo "#!${llama-python}/bin/python" > $out/bin/convert.py
+            cat ${./convert.py} >> $out/bin/convert.py
+            chmod +x $out/bin/convert.py
           '';
           meta.mainProgram = "llama";
         };