Reformat nix source file using nixfmt
This commit is contained in:
		
							parent
							
								
									2e4a532958
								
							
						
					
					
						commit
						9201969c1b
					
				
					 220 changed files with 3169 additions and 2487 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,24 @@
 | 
			
		|||
  nameValuePair,
 | 
			
		||||
  getAttrFromPath,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
  genFunctionArgs = flip pipe [(map (flip pipe [(splitString ".") head (flip nameValuePair false)])) listToAttrs];
 | 
			
		||||
  genInputsWith = pkgs: map (flip pipe [(splitString ".") (flip getAttrFromPath pkgs)]);
 | 
			
		||||
}:
 | 
			
		||||
{
 | 
			
		||||
  genFunctionArgs = flip pipe [
 | 
			
		||||
    (map (
 | 
			
		||||
      flip pipe [
 | 
			
		||||
        (splitString ".")
 | 
			
		||||
        head
 | 
			
		||||
        (flip nameValuePair false)
 | 
			
		||||
      ]
 | 
			
		||||
    ))
 | 
			
		||||
    listToAttrs
 | 
			
		||||
  ];
 | 
			
		||||
  genInputsWith =
 | 
			
		||||
    pkgs:
 | 
			
		||||
    map (
 | 
			
		||||
      flip pipe [
 | 
			
		||||
        (splitString ".")
 | 
			
		||||
        (flip getAttrFromPath pkgs)
 | 
			
		||||
      ]
 | 
			
		||||
    );
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue