Maybe fix failing dependency?

This commit is contained in:
ediblerope 2026-05-12 15:31:26 +01:00
parent f202e7001e
commit 27be8e3452

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
services.ollama.enable = true; services.ollama.enable = true;
services.ollama.acceleration = "cuda"; services.ollama.acceleration = "cuda";
@ -8,12 +8,17 @@
services.open-webui.enable = true; services.open-webui.enable = true;
services.open-webui.port = 8888; services.open-webui.port = 8888;
#testing
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
valkey = prev.valkey.overrideAttrs (oldAttrs: { # We need to reach into the python package set
doCheck = false; pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
}); (python-final: python-prev: {
langchain = python-prev.langchain.overridePythonAttrs (oldAttrs: {
# This disables the checkPhase (running tests) for langchain
doCheck = false;
});
})
];
}) })
]; ];
}; };