13 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			309 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  flip,
 | 
						|
  pipe,
 | 
						|
  splitString,
 | 
						|
  head,
 | 
						|
  listToAttrs,
 | 
						|
  nameValuePair,
 | 
						|
  getAttrFromPath,
 | 
						|
  ...
 | 
						|
}: {
 | 
						|
  genFunctionArgs = flip pipe [(map (flip pipe [(splitString ".") head (flip nameValuePair false)])) listToAttrs];
 | 
						|
  genInputsWith = pkgs: map (flip pipe [(splitString ".") (flip getAttrFromPath pkgs)]);
 | 
						|
}
 |