From: Yuannan Date: Mon, 6 Oct 2025 09:29:56 +0000 (+0000) Subject: nix : removed metal for nix (#16118) X-Git-Tag: upstream/0.0.6764~70 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=1d49ca37594fb49db6aa9518ba7c512e5ccd0108;p=pkg%2Fggml%2Fsources%2Fllama.cpp nix : removed metal for nix (#16118) --- diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix index 651a54db..41748e89 100644 --- a/.devops/nix/package.nix +++ b/.devops/nix/package.nix @@ -128,10 +128,6 @@ effectiveStdenv.mkDerivation (finalAttrs: { }; postPatch = '' - substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \ - --replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";" - substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \ - --replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";" ''; # With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,