From 433eeba01d875a57876339348fe17bfb85cfe244 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 8 Aug 2024 14:20:37 -0500 Subject: [PATCH] move derivations to module --- modules/llm/default.nix | 4 ++-- {pkgs => modules/llm}/llm-plugins/llm-claude-3/default.nix | 0 {pkgs => modules/llm}/llm-plugins/llm-ollama/default.nix | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {pkgs => modules/llm}/llm-plugins/llm-claude-3/default.nix (100%) rename {pkgs => modules/llm}/llm-plugins/llm-ollama/default.nix (100%) diff --git a/modules/llm/default.nix b/modules/llm/default.nix index 7a72f0f..1f7e9c0 100644 --- a/modules/llm/default.nix +++ b/modules/llm/default.nix @@ -8,8 +8,8 @@ let inherit (pkgs) python3Packages; - llm-ollama = python3Packages.callPackage ../../pkgs/llm-plugins/llm-ollama { }; - llm-claude3 = python3Packages.callPackage ../../pkgs/llm-plugins/llm-claude-3 { }; + llm-ollama = python3Packages.callPackage ./llm-plugins/llm-ollama { }; + llm-claude3 = python3Packages.callPackage ./llm-plugins/llm-claude-3 { }; llm = ( pkgs.llm.withPlugins [ llm-ollama diff --git a/pkgs/llm-plugins/llm-claude-3/default.nix b/modules/llm/llm-plugins/llm-claude-3/default.nix similarity index 100% rename from pkgs/llm-plugins/llm-claude-3/default.nix rename to modules/llm/llm-plugins/llm-claude-3/default.nix diff --git a/pkgs/llm-plugins/llm-ollama/default.nix b/modules/llm/llm-plugins/llm-ollama/default.nix similarity index 100% rename from pkgs/llm-plugins/llm-ollama/default.nix rename to modules/llm/llm-plugins/llm-ollama/default.nix