aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2023-04-13 15:49:05 +0200
committerGitHub <noreply@github.com>2023-04-13 15:49:05 +0200
commitc729ff730a46a135817a3d9988a097e3678a9722 (patch)
tree75597d64e822b9edde1b9b8aa869ff20ce9dc560
parent4579af95e8e16910f6dbab0994917a5b3901f0cf (diff)
flake.nix: add all binaries from bin (#848)
-rw-r--r--flake.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index cd1b6d2..91d2edd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -28,10 +28,8 @@
];
installPhase = ''
mkdir -p $out/bin
- mv bin/main $out/bin/llama
- mv bin/quantize $out/bin/quantize
- mv bin/embedding $out/bin/embedding
- mv bin/perplexity $out/bin/perplexity
+ 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