cli: support getting chroot-realpath from nixos-init if necessary

This commit is contained in:
Michael Hoang
2025-10-03 13:02:08 +02:00
parent 5e98b1335a
commit 56558023a8

View File

@@ -246,7 +246,8 @@ pythonRuntime.pkgs.buildPythonApplication {
pkgs.unzip
pkgs.libxslt
pkgs.getconf
pkgs.chroot-realpath
# REMOVEME: once we drop support for 25.11
(if pkgs ? chroot-realpath then pkgs.chroot-realpath else pkgs.nixos-init)
nixosConfigurations."test-vm-persistence-${stdenv.hostPlatform.system}".config.system.clan.vm.create
nixosConfigurations."test-vm-deployment-${stdenv.hostPlatform.system}".config.system.clan.vm.create