Commit d43a6262 authored by abysssol's avatar abysssol
Browse files

ollama: reformat bash where patches are applied

parent b3a96e6a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -161,8 +161,10 @@ goBuild {
    # replace inaccurate version number with actual release version
    substituteInPlace version/version.go --replace-fail 0.0.0 '${version}'

    # apply llama.cpp patches
    for cur in llm/patches/*; do patch -p1 -d llm/llama.cpp < $cur; done
    # apply ollama's patches to `llama.cpp` submodule
    for diff in llm/patches/*; do
      patch -p1 -d llm/llama.cpp < $diff
    done
  '';

  overrideModAttrs = (