[Mac M1] Getting an error on `make vm/bootstrap` step
klivan opened this issue · comments
Ivan Klishch commented
$ make vm/bootstrap
NIXUSER=root /Applications/Xcode.app/Contents/Developer/usr/bin/make vm/copy
rsync -av -e 'ssh -p22' \
--exclude='vendor/' \
--exclude='.git/' \
--exclude='.git-crypt/' \
--rsync-path="sudo rsync" \
/Users/ivan/Devloper/Personal/nixos-config/ root@172.16.213.130:/nix-config
Password:
building file list ... done
sent 1303 bytes received 20 bytes 378.00 bytes/sec
total size is 813279865 speedup is 614724.01
NIXUSER=root /Applications/Xcode.app/Contents/Developer/usr/bin/make vm/switch
ssh -p22 root@172.16.213.130 " \
sudo NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nixos-rebuild switch --flake \"/nix-config#vm-aarch64\" \
"
Password:
building the system configuration...
error: builder for '/nix/store/8xn781yhlkr9bj9dvx3x919wicscn5aa-linux-config-5.14.14.drv' failed with exit code 255;
last 10 log lines:
>
> Error in reading or end of file.
>
> Error in reading or end of file.
>
> Error in reading or end of file.
>
> Error in reading or end of file.
>
> Error in reading or end of file.
For full logs, run 'nix log /nix/store/8xn781yhlkr9bj9dvx3x919wicscn5aa-linux-config-5.14.14.drv'.
error: 1 dependencies of derivation '/nix/store/61jlx8ncjrhnfhyxxzi48ds5q5ca89lr-linux-5.14.14.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cfwdvqmm4d9cw63d3ffgqj9rffcvd3ly-nixos-system-dev-21.05.20211024.3b17893.drv' failed to build
make[1]: *** [vm/switch] Error 100
make: *** [vm/bootstrap] Error 2
The only change I made in Makefile
is I replaced vm-intel
with vm-aarch64
Mitchell Hashimoto commented
I just fixed this yesterday, not sure why anything changed but I started seeing this too. 736a3f4
Ivan Klishch commented
Thanks, @mitchellh with your today's fix I got it working!