needlessly reorganize llm and plugins

This commit is contained in:
Daylin Morgan 2025-01-16 14:23:13 -06:00
parent 18013da777
commit d27d5b9a52
Signed by: daylin
GPG key ID: 950D13E9719334AD
5 changed files with 21 additions and 5 deletions

View file

@ -1,7 +1,4 @@
{ pkgs, ... }:
let
inherit (pkgs) python3Packages;
in
{
nimlangserver = pkgs.callPackage ./nim/nimlangserver { };
procs = pkgs.callPackage ./nim/procs { };
@ -9,6 +6,6 @@ in
distrobox = pkgs.callPackage ./distrobox { };
llm = python3Packages.callPackage ./llm { };
llm-claude-3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 { };
llm-with-plugins = pkgs.callPackage ./llm/llm-with-plugins {};
}

View file

@ -0,0 +1,19 @@
{
pkgs,
...
}:
let
inherit (pkgs) python3Packages;
llm = python3Packages.callPackage ../llm { };
llm-claude-3 = python3Packages.callPackage ../llm-plugins/llm-claude-3 { };
pyWithLlm = (
pkgs.python3.withPackages (_: [
llm
llm-claude-3
])
);
in
pkgs.writeShellScriptBin "llm" ''
exec ${pyWithLlm}/bin/llm "$@"
''