File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,9 +160,9 @@ effectiveStdenv.mkDerivation (
160
160
} ;
161
161
162
162
postPatch = ''
163
- substituteInPlace ./ggml-metal.m \
163
+ substituteInPlace ./ggml/src/ggml -metal.m \
164
164
--replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
165
- substituteInPlace ./ggml-metal.m \
165
+ substituteInPlace ./ggml/src/ggml -metal.m \
166
166
--replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";"
167
167
'' ;
168
168
@@ -244,7 +244,7 @@ effectiveStdenv.mkDerivation (
244
244
# if they haven't been added yet.
245
245
postInstall = ''
246
246
mkdir -p $out/include
247
- cp $src/llama.h $out/include/
247
+ cp $src/include/ llama.h $out/include/
248
248
'' ;
249
249
250
250
# Define the shells here, but don't add in the inputsFrom to avoid recursion.
You can’t perform that action at this time.
0 commit comments