Skip to content

flake.nix : include llama.h in nix output#3159

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
AsbjornOlling:nix-include
Sep 14, 2023
Merged

flake.nix : include llama.h in nix output#3159
ggerganov merged 1 commit intoggml-org:masterfrom
AsbjornOlling:nix-include

Conversation

@AsbjornOlling
Copy link
Copy Markdown
Contributor

Yup. Does what it says on the tin.

I just added a cp to postInstall.

This lets me include llama.cpp in other programs built with nix 🎉

@AsbjornOlling
Copy link
Copy Markdown
Contributor Author

AsbjornOlling commented Sep 13, 2023

I just realized that this is a sort-of duplicate of #2570

Although #2570 keeps more headers than this PR does. It's probably a better PR.

¯\_(ツ)_/¯ llama.h was enough for me.

@ggerganov ggerganov merged commit cf8238e into ggml-org:master Sep 14, 2023
@Tungsten842
Copy link
Copy Markdown
Contributor

After this pr I am getting this:

mkdir: cannot create directory '/nix/store/23wi4705jibcsk79zj4dv9jbvll0mnha-llama.cpp/include': File exists
/nix/store/fmv92wqvryrn9xmd3farz5lb03z65z46-stdenv-linux/setup: line 144: pop_var_context: head of shell_variables not a function context

pkrmf pushed a commit to morlockstudios-com/llama.cpp that referenced this pull request Sep 26, 2023
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants