forked from jan-leila/nix-config
		
	added flake check to pre commit hook
This commit is contained in:
		
							parent
							
								
									bba88fc3fe
								
							
						
					
					
						commit
						d99da6cd44
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -2,6 +2,13 @@ | ||||||
| 
 | 
 | ||||||
| git stash -q --keep-index | git stash -q --keep-index | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | nix flake check | ||||||
|  | 
 | ||||||
|  | if [ $? -eq 0 ]; then | ||||||
|  |     exit 1 | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| ./lint.sh | ./lint.sh | ||||||
| 
 | 
 | ||||||
| RESULT=$? | RESULT=$? | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue