mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-13 14:29:52 +00:00
17 lines
351 B
Nix
17 lines
351 B
Nix
{
|
|
lib,
|
|
newScope,
|
|
llamaVersion ? "0.0.0",
|
|
}:
|
|
|
|
# We're using `makeScope` instead of just writing out an attrset
|
|
# because it allows users to apply overlays later using `overrideScope'`.
|
|
# Cf. https://noogle.dev/f/lib/makeScope
|
|
|
|
lib.makeScope newScope (
|
|
self: {
|
|
inherit llamaVersion;
|
|
llama-cpp = self.callPackage ./package.nix { };
|
|
}
|
|
)
|