Fix Nix build

This commit is contained in:
Ben Siraphob 2023-03-22 00:37:02 -05:00 committed by Pavol Rusnak
parent a50e39c6fe
commit a18c19259a

View File

@ -28,8 +28,8 @@
]; ];
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
mv llama $out/bin/llama mv bin/main $out/bin/llama
mv quantize $out/bin/quantize mv bin/quantize $out/bin/quantize
echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml
cat ${./convert-pth-to-ggml.py} >> $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 chmod +x $out/bin/convert-pth-to-ggml