mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +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 { };
 | 
						|
  }
 | 
						|
)
 |