Skip to content

Commit f7d9410

Browse files
committed
nix test
1 parent 165beb0 commit f7d9410

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.devops/nix/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ effectiveStdenv.mkDerivation (
160160
};
161161

162162
postPatch = ''
163-
substituteInPlace ./ggml-metal.m \
163+
substituteInPlace ./ggml/src/ggml-metal.m \
164164
--replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
165-
substituteInPlace ./ggml-metal.m \
165+
substituteInPlace ./ggml/src/ggml-metal.m \
166166
--replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";"
167167
'';
168168

@@ -244,7 +244,7 @@ effectiveStdenv.mkDerivation (
244244
# if they haven't been added yet.
245245
postInstall = ''
246246
mkdir -p $out/include
247-
cp $src/llama.h $out/include/
247+
cp $src/include/llama.h $out/include/
248248
'';
249249

250250
# Define the shells here, but don't add in the inputsFrom to avoid recursion.

0 commit comments

Comments
 (0)