mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-27 06:39:25 +01: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 { };
|
|
}
|
|
)
|