flake.nix: add a comment about flakes vs nix

This commit is contained in:
Someone Serge 2024-01-21 03:41:37 +00:00
parent 2aebd7a47a
commit 3cb8e5b7ce
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -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++"; description = "Port of Facebook's LLaMA model in C/C++";