mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-27 04:23:06 +01:00
23 lines
478 B
Nix
23 lines
478 B
Nix
{
|
|
perSystem =
|
|
{ config, lib, ... }:
|
|
{
|
|
apps =
|
|
let
|
|
inherit (config.packages) default;
|
|
binaries = [
|
|
"llama-cli"
|
|
"llama-embedding"
|
|
"llama-server"
|
|
"llama-quantize"
|
|
"llama-train-text-from-scratch"
|
|
];
|
|
mkApp = name: {
|
|
type = "app";
|
|
program = "${default}/bin/${name}";
|
|
};
|
|
in
|
|
lib.genAttrs binaries mkApp;
|
|
};
|
|
}
|