Skip to content
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

Can I install lima with nix? #146

Closed
kachick opened this issue Feb 21, 2023 · 6 comments · Fixed by #913
Closed

Can I install lima with nix? #146

kachick opened this issue Feb 21, 2023 · 6 comments · Fixed by #913
Labels
help wanted Extra attention is needed

Comments

@kachick
Copy link
Owner

kachick commented Feb 21, 2023

In macos, I would use lima. However currently installing with brew.

@kachick kachick changed the title Can I install lima with nix instead of brew? Can I install lima with nix? Jul 30, 2023
@kachick kachick added help wanted Extra attention is needed question labels Jul 30, 2023
@kachick
Copy link
Owner Author

kachick commented Dec 2, 2023

Installed latest lima with nix fails around QEMU in boot steps. It may relate to abiosoft/colima#777
So I'm using https://docs.orbstack.dev/ for now.

@kachick kachick closed this as completed Dec 2, 2023
@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

Uninstalled orbstack and having an issues as #910, #911

So reopen this issue today

Another NixOS/nixpkgs#108984

@kachick kachick reopened this Nov 3, 2024
@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

abiosoft/colima#627

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

lima-vm/lima#430

@kachick
Copy link
Owner Author

kachick commented Nov 3, 2024

nixpkgs version is old, and having problem as #910

And the run is blocked with garbage old config. And missing the qemu error

So I fixed with

rm -rf "$HOME/.lima"

VERSION=$(curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name)
curl -fsSL "https://github.com/lima-vm/lima/releases/download/${VERSION}/lima-${VERSION:1}-$(uname -s)-$(uname -m).tar.gz" | tar Cxzvm /usr/local

nix-shell --packages qemu

limactl start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant