llama-cpp: fix postPatch phase

This commit is contained in:
Simon Gardling 2025-10-02 22:26:25 -04:00
parent e98a23934a
commit 72d950007b
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -18,7 +18,13 @@
port = service_configs.ports.llama_cpp;
host = "0.0.0.0";
# vulkan broken: https://github.com/ggml-org/llama.cpp/issues/13801
package = (lib.optimizePackage inputs.llamacpp.packages.${pkgs.system}.default);
package = (
lib.optimizePackage (
inputs.llamacpp.packages.${pkgs.system}.default.overrideAttrs (old: {
postPatch = "";
})
)
);
extraFlags = [
# "-ngl"
# "9999"