Skip to content

Commit b2d80e1

Browse files
committed
flake.nix: add a comment about flakes vs nix
1 parent 28603cd commit b2d80e1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

flake.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# The flake interface to llama.cpp's Nix expressions. The flake is used as a
2+
# more discoverable entry-point, as well as a way to pin the dependencies and
3+
# expose default outputs, including the outputs built by the CI.
4+
5+
# For more serious applications involving some kind of customization you may
6+
# want to consider consuming the overlay, or instantiating `llamaPackages`
7+
# directly:
8+
#
9+
# ```nix
10+
# pkgs.callPackage ${llama-cpp-root}/.devops/nix/scope.nix { }`
11+
# ```
12+
13+
# Cf. https://jade.fyi/blog/flakes-arent-real/ for a more detailed exposition
14+
# of the relation between Nix and the Nix Flakes.
115
{
216
description = "Port of Facebook's LLaMA model in C/C++";
317

0 commit comments

Comments
 (0)