Rebuild shouldn't report failing if the libnotify doesn't work
This commit is contained in:
		
							parent
							
								
									25ddebec3c
								
							
						
					
					
						commit
						456d7d1dfb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,6 +22,6 @@ writeShellApplication
 | 
			
		|||
    echo "Cleaning up repository in '/tmp/rebuild'..."
 | 
			
		||||
    systemd-inhibit --what=idle rm -rf ./rebuild
 | 
			
		||||
    popd > /dev/null
 | 
			
		||||
    notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
 | 
			
		||||
    notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available > /dev/null
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue