fix updates with specialisations enabled
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23751 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23750 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #23752 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23749 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23754 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra checks.x86_64-linux.containers-default Hydra build #23748 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23753 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-05 14:12:52 +01:00
parent 26a1856a8e
commit 28bc4bce8a

View file

@ -68,7 +68,7 @@ in
if cfg.specialisation == null
then "$output/bin/switch-to-configuration switch"
else ''
$output/specialisations/${cfg.specialisation}/bin/switch-to-configuration switch
$output/specialisation/${cfg.specialisation}/bin/switch-to-configuration switch
''
}
else
@ -81,7 +81,7 @@ in
if cfg.specialisation == null
then "$output/bin/switch-to-configuration switch"
else ''
$output/specialisations/${cfg.specialisation}/bin/switch-to-configuration switch
$output/specialisation/${cfg.specialisation}/bin/switch-to-configuration switch
''
}
''