Add plugins to make Nix more extensible.
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports.
This commit is contained in:
		
							parent
							
								
									f201b7733e
								
							
						
					
					
						commit
						88cd2d41ac
					
				
					 24 changed files with 122 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -44,6 +44,8 @@ int main(int argc, char ** argv)
 | 
			
		|||
            return true;
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        initPlugins();
 | 
			
		||||
 | 
			
		||||
        if (sshHost.empty())
 | 
			
		||||
            throw UsageError("no host name specified");
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue