Loading pkgs/by-name/ll/llama-cpp/package.nix +0 −13 Original line number Diff line number Diff line Loading @@ -91,19 +91,6 @@ effectiveStdenv.mkDerivation (finalAttrs: { patches = lib.optionals vulkanSupport [ ./disable_bfloat16.patch ]; postPatch = '' # Workaround for local-ai package which overrides this package to an older llama-cpp if [ -f ./ggml/src/ggml-metal.m ]; then substituteInPlace ./ggml/src/ggml-metal.m \ --replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";" fi if [ -f ./ggml/src/ggml-metal/ggml-metal.m ]; then substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \ --replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";" fi ''; nativeBuildInputs = [ cmake ninja Loading pkgs/by-name/lo/local-ai/package.nix +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ let hash = "sha256-b9B5I3EbBFrkWc6RLXMWcCRKayyWjlGuQrogUcrISrc="; fetchSubmodules = true; }; postPatch = prev.postPatch + '' postPatch = '' cd examples cp -r --no-preserve=mode ${src}/backend/cpp/llama grpc-server cp llava/clip* llava/llava.* grpc-server Loading Loading
pkgs/by-name/ll/llama-cpp/package.nix +0 −13 Original line number Diff line number Diff line Loading @@ -91,19 +91,6 @@ effectiveStdenv.mkDerivation (finalAttrs: { patches = lib.optionals vulkanSupport [ ./disable_bfloat16.patch ]; postPatch = '' # Workaround for local-ai package which overrides this package to an older llama-cpp if [ -f ./ggml/src/ggml-metal.m ]; then substituteInPlace ./ggml/src/ggml-metal.m \ --replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";" fi if [ -f ./ggml/src/ggml-metal/ggml-metal.m ]; then substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \ --replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";" fi ''; nativeBuildInputs = [ cmake ninja Loading
pkgs/by-name/lo/local-ai/package.nix +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ let hash = "sha256-b9B5I3EbBFrkWc6RLXMWcCRKayyWjlGuQrogUcrISrc="; fetchSubmodules = true; }; postPatch = prev.postPatch + '' postPatch = '' cd examples cp -r --no-preserve=mode ${src}/backend/cpp/llama grpc-server cp llava/clip* llava/llava.* grpc-server Loading