I’m trying to set up a NixOS VM in VMware Fusion (Tech Preview version for aarch64 support). I’m having trouble setting up the virtualisation.vmware.guest.enable = true option:
$ sudo nixos-rebuild switch
...
Failed assertions:
- VMWare guest is not currently supported on aarch64-linux
What can I do to get virtualisation.vmware.guest.enable working on aarch64-linux? Is this something that can be addressed in nixpkgs or are we constrained by upstream binary builds?
But the reason that assertion is there in the first place might or might not be related to the upstream. The binary might only be working on those platforms or it might be the case that no one tested the derivation or the module on other platforms.
You can try to ask the maintainers of the derivation or test if it works by loosening the assertion yourself.
In a recent thread jonringer explained how to rebuild a NixOS system from the directory of a local copy of nixpkgs. I haven’t tried it myself yet but it might help
You can apply changes locally by doing, sudo nixos-rebuild -I nixpkgs=$PWD switch , or use path urls if you are using flakes.