Skip to content

lima: fix build on Darwin by linking with lld - #541023

Merged
Br1ght0ne merged 1 commit into
NixOS:masterfrom
samiser:master
Jul 13, 2026
Merged

Br1ght0ne merged 1 commit into
NixOS:masterfrom
samiser:master

Conversation

@samiser

@samiser samiser commented Jul 12, 2026

Copy link
Copy Markdown
Member

Resolves #540426 with a temporary fix by linking with LLVM lld, similar to vfkit (#539768) and starship (#540463). Marked with a TODO for removal once #536365 reaches master.

Sanity check:

❯ ./result/bin/limactl --version
limactl version 2.1.4

Things done

@samiser

samiser commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review --package lima
Commit: 5ce128c4d99036a72c5c4c2044a954ebcd8e0801


aarch64-darwin

✅ 1 package built:
  • lima

@nixpkgs-ci
nixpkgs-ci Bot requested a review from voanhduy1512 July 12, 2026 11:58
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle! labels Jul 12, 2026

@afh afh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully verified the proposed fix locally 👍

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Jul 12, 2026
@Br1ght0ne
Br1ght0ne added this pull request to the merge queue Jul 13, 2026
Merged via the queue into NixOS:master with commit 605e1b1 Jul 13, 2026
29 checks passed
@samiser samiser mentioned this pull request Jul 14, 2026
2 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: lima: 2.1.4 (aarch64-darwin) Fails to Build on Tahoe 26.2

3 participants