Skip to content

Commit cf8238e

Browse files
flake : include llama.h in nix output (#3159)
1 parent 4b8560e commit cf8238e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
postInstall = ''
4646
mv $out/bin/main $out/bin/llama
4747
mv $out/bin/server $out/bin/llama-server
48+
mkdir $out/include
49+
cp ${src}/llama.h $out/include/
4850
'';
4951
cmakeFlags = [ "-DLLAMA_BUILD_SERVER=ON" "-DLLAMA_MPI=ON" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
5052
in

0 commit comments

Comments
 (0)