Add nix flake check to the update script so you don't break configurations by updating the lock
This commit is contained in:
		
							parent
							
								
									460baf9612
								
							
						
					
					
						commit
						b3e8f34761
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -19,6 +19,7 @@ writeShellApplication
 | 
			
		|||
    echo "Updating flake lock..."
 | 
			
		||||
    nix flake update
 | 
			
		||||
    git add flake.lock
 | 
			
		||||
    sudo nix flake check
 | 
			
		||||
    git commit -m "update flake lock"
 | 
			
		||||
    git push
 | 
			
		||||
    popd > /dev/null
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue