-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colima start --vm-type=vz
failing when installed from Nix
#556
Comments
Ah, I think the problem might be that Nixpkgs has Apologies I only spotted this right after creating the issue! 🤦
|
@jonathanlking I'm not very skilled with Nix, otherwise would've modified Colima to only use a specific version of Lima. The issue with Nix is due to the fixed dependencies. I think a new re-release on Nix should resolve it as newer versions of Lima is now on Nix. |
Thanks for such a quick reply! Unfortunately I think master https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/lima/default.nix is still on I'm creating an overlay now to test if upgrading to I'll add the overlay below (in case anyone else runs into this issue) and will try to open a PR on nixpkgs to bump the version there too. |
It looks like this issue is being discussed/worked on already 👀 (and I haven't got any further than them) I'm happy for this issue to be closed, as it appears to be a Nix packaging issue, rather than anything wrong with |
I still have the same behavior with up-to-date colima and lima.
OSX: 13.1 (M1 max) edit:
|
Same here. What's strange is that the YAML file mentioned in the comment (main file) doesn't exist. |
Hi there, I recently worked on these nix packages to make them up to date. {
nixpkgs.overlays = [
(self: super: {
lima = super.lima-bin;
})
];
home.packages = with pkgs; [
...
colima
...
];
...
} Once updated macos toolchain will be updated with vz support, this overlay will not be necessary anymore, but I can't tell when this will be done. |
This is fixed in |
Description
Running
colima start --vm-type=vz
fails to start:However
colima start
works as expected.When installed through Homebrew it works (see additional context).
Version
Colima Version:
Lima Version:
limactl version 0.13.0
Qemu Version:
qemu-img version 7.2.0
Nixpkgs: https://github.com/NixOS/nixpkgs/blob/2d1dee4f6a6dac81b3bc4a3e7bdf76c9e5ec4008/pkgs/applications/virtualization/colima/default.nix
Operating System
Output of
colima status
FATA[0000] colima is not running
Reproduction Steps
nix-shell -p colima -p qemu -p lima -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/2d1dee4f6a6dac81b3bc4a3e7bdf76c9e5ec4008.tar.gz
colima delete
(only if you've already runcolima
before with different settings)colima start --vm-type=vz
Expected behaviour
VM should start.
Additional context
When installed with Homebrew:
Colima Version:
Lima Version:
limactl version 0.14.2
Qemu Version:
qemu-img version 7.2.0
The text was updated successfully, but these errors were encountered: