Skip to content

Commit

Permalink
flake.nix: add a comment about flakes vs nix
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge committed Jan 22, 2024
1 parent 28603cd commit b2d80e1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# The flake interface to llama.cpp's Nix expressions. The flake is used as a
# more discoverable entry-point, as well as a way to pin the dependencies and
# expose default outputs, including the outputs built by the CI.

# For more serious applications involving some kind of customization you may
# want to consider consuming the overlay, or instantiating `llamaPackages`
# directly:
#
# ```nix
# pkgs.callPackage ${llama-cpp-root}/.devops/nix/scope.nix { }`
# ```

# Cf. https://jade.fyi/blog/flakes-arent-real/ for a more detailed exposition
# of the relation between Nix and the Nix Flakes.
{
description = "Port of Facebook's LLaMA model in C/C++";

Expand Down

0 comments on commit b2d80e1

Please sign in to comment.