mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	server: simplify nix package
This commit is contained in:
		@@ -243,8 +243,6 @@ effectiveStdenv.mkDerivation (
 | 
				
			|||||||
    # TODO(SomeoneSerge): It's better to add proper install targets at the CMake level,
 | 
					    # TODO(SomeoneSerge): It's better to add proper install targets at the CMake level,
 | 
				
			||||||
    # if they haven't been added yet.
 | 
					    # if they haven't been added yet.
 | 
				
			||||||
    postInstall = ''
 | 
					    postInstall = ''
 | 
				
			||||||
      mv $out/bin/main${executableSuffix} $out/bin/llama${executableSuffix}
 | 
					 | 
				
			||||||
      mv $out/bin/server${executableSuffix} $out/bin/llama-server${executableSuffix}
 | 
					 | 
				
			||||||
      mkdir -p $out/include
 | 
					      mkdir -p $out/include
 | 
				
			||||||
      cp $src/llama.h $out/include/
 | 
					      cp $src/llama.h $out/include/
 | 
				
			||||||
    '';
 | 
					    '';
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user