lanzatool: spell specialised consistently
This commit is contained in:
		
							parent
							
								
									b79dea1fca
								
							
						
					
					
						commit
						7f235ce004
					
				| 
						 | 
					@ -88,7 +88,7 @@ fn nixos_path(path: impl AsRef<Path>, name: &str) -> Result<PathBuf> {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
fn generation_path(generation: &Generation) -> PathBuf {
 | 
					fn generation_path(generation: &Generation) -> PathBuf {
 | 
				
			||||||
    if let Some(specialisation_name) = generation.is_specialized() {
 | 
					    if let Some(specialisation_name) = generation.is_specialised() {
 | 
				
			||||||
        PathBuf::from(format!(
 | 
					        PathBuf::from(format!(
 | 
				
			||||||
            "nixos-generation-{}-specialisation-{}.efi",
 | 
					            "nixos-generation-{}-specialisation-{}.efi",
 | 
				
			||||||
            generation, specialisation_name
 | 
					            generation, specialisation_name
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,7 +64,7 @@ impl Generation {
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pub fn is_specialized(&self) -> Option<SpecialisationName> {
 | 
					    pub fn is_specialised(&self) -> Option<SpecialisationName> {
 | 
				
			||||||
        self.specialisation_name.clone()
 | 
					        self.specialisation_name.clone()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue