Files
llama.cpp/.devops/nix/scope.nix
T

16 lines
351 B
Nix
Raw Normal View History

2023-12-29 06:42:26 -08:00
{
lib,
newScope,
llamaVersion ? "0.0.0",
}:
2024-01-21 03:15:13 +00:00
# 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
2023-12-29 06:42:26 -08:00
lib.makeScope newScope (
self: {
inherit llamaVersion;
llama-cpp = self.callPackage ./package.nix { };
}
)