From b3e113d2e1351ea1d48170a3433c2228ac2ae137 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 2 Dec 2024 07:36:15 -0500 Subject: Package ludic This required upgrading to python 3.12 because of some f-string format thing that ludic uses. It's kind of annoying but the upgrade was easy enough, so I just did it. --- Omni/Bild/Python.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Omni/Bild/Python.nix') diff --git a/Omni/Bild/Python.nix b/Omni/Bild/Python.nix index 6e4f390..23e9ecd 100644 --- a/Omni/Bild/Python.nix +++ b/Omni/Bild/Python.nix @@ -1,17 +1,24 @@ _self: super: { - python3 = super.python3.override { + python312 = super.python312.override { packageOverrides = _pyself: pysuper: - with pysuper.pkgs.python3Packages; + with pysuper.pkgs.python312Packages; let dontCheck = p: p.overridePythonAttrs (_: { doCheck = false; }); in { interegular = callPackage ./Deps/interegular.nix { }; - llm-ollama = callPackage ./Deps/llm-ollama.nix { }; - llm-sentence-transformers = - callPackage ./Deps/llm-sentence-transformers.nix { }; + ludic = callPackage ./Deps/ludic.nix { }; mypy = dontCheck pysuper.mypy; outlines = callPackage ./Deps/outlines.nix { }; perscache = callPackage ./Deps/perscache.nix { }; tokenizers = dontCheck pysuper.tokenizers; }; }; + + python311 = super.python311.override { + packageOverrides = _pyself: pysuper: + with pysuper.pkgs.python311Packages; { + llm-ollama = callPackage ./Deps/llm-ollama.nix { }; + llm-sentence-transformers = + callPackage ./Deps/llm-sentence-transformers.nix { }; + }; + }; } -- cgit v1.2.3