nix-community / nixos-anywhere-examples

Example flake for nixos-anywhere
https://nix-community.github.io/nixos-anywhere/ [maintainer=@Mic92]
33 stars 13 forks source link

Unable to run nixos-anywhere with --vm-test flag #3

Closed multivac61 closed 1 year ago

multivac61 commented 1 year ago

I am unable to run nixos-anywhere on this example project.

[root@nixos:~]# nix run github:numtide/nixos-anywhere --extra-experimental-features nix-command --extra-experimental-features flakes -- --flake github:numtide/nixos-anywhere-examples#hetzner-cloud --vm-test
error: flake 'github:numtide/nixos-anywhere-examples' does not provide attribute 'packages.aarch64-linux.nixosConfigurations."hetzner-cloud".config.system.build.installTest', 'legacyPackages.aarch64-linux.nixosConfigurations."hetzner-cloud".config.system.build.installTest' or 'nixosConfigurations."hetzner-cloud".config.system.build.installTest'

CleanShot 2023-09-11 at 12 24 52

multivac61 commented 1 year ago

I tried changing to aarch64-linux (same as host) but that didn't help either

https://github.com/multivac61/nixos-anywhere-examples

Mic92 commented 1 year ago

Moved to https://github.com/nix-community/disko/issues/404