Merge pull request #51 from nix-community/special-specialized-specialisation
Lanzatool: spell specialised consistently
This commit is contained in:
commit
47085e8578
|
@ -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