Skip to content

Commit d987417

Browse files
committed
fix: nix build
1 parent be79d9f commit d987417

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.devops/nix/package.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ effectiveStdenv.mkDerivation (finalAttrs: {
127127
src = lib.cleanSource ../../.;
128128
};
129129

130-
postPatch = ''
131-
substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
132-
--replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
133-
substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
134-
--replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";"
135-
'';
130+
# postPatch = ''
131+
# substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
132+
# --replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
133+
# substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
134+
# --replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";"
135+
# '';
136136

137137
# With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,
138138
# `default.metallib` may be compiled with Metal compiler from XCode

0 commit comments

Comments
 (0)