]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
nix : removed metal for nix (#16118)
authorYuannan <redacted>
Mon, 6 Oct 2025 09:29:56 +0000 (09:29 +0000)
committerGitHub <redacted>
Mon, 6 Oct 2025 09:29:56 +0000 (12:29 +0300)
.devops/nix/package.nix

index 651a54db4c2038f12d0eebe06786e2e1984c86ae..41748e89d5cd5f43addb246b0551a3f61b56e239 100644 (file)
@@ -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,