Update flake.nix metal kernel substitution
This commit is contained in:
parent
43fe774573
commit
921a8e483b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
postPatch =
|
postPatch =
|
||||||
if isM1 then ''
|
if isM1 then ''
|
||||||
substituteInPlace ./ggml-metal.m \
|
substituteInPlace ./ggml-metal.m \
|
||||||
--replace '[[NSBundle mainBundle] pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/ggml-metal.metal\";"
|
--replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/ggml-metal.metal\";"
|
||||||
'' else "";
|
'' else "";
|
||||||
nativeBuildInputs = with pkgs; [ cmake ];
|
nativeBuildInputs = with pkgs; [ cmake ];
|
||||||
buildInputs = osSpecific;
|
buildInputs = osSpecific;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue