Skip to content

Conversation

@simongdavies
Copy link
Contributor

Updates to flake.nix

@simongdavies simongdavies requested a review from danbugs as a code owner December 9, 2025 21:55
@simongdavies simongdavies added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Dec 9, 2025
@simongdavies simongdavies added the Guest-COW PRs that form part of the Guest-COW change label Dec 9, 2025
@jsturtevant
Copy link
Contributor

LGTM but I know nothing of NIX, but I also think it is mostly dev configuration. @dblnz maybe?

@jprendes
Copy link
Contributor

LGTM but I know nothing of NIX, but I also think it is mostly dev configuration. @dblnz maybe?

ditto

Copy link
Contributor

@dblnz dblnz left a comment

Choose a reason for hiding this comment

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

I tried it locally, it installs rust 1.90

This makes it work better with `nix print-dev-env` and friends.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
In Rust 1.90, rustc defaults to -fuse-ld=lld, which in turn uses a
bundled-with-the-compiler ld.lld driver. That driver was not being
properly wrapped, leading to generated executables failing to find
libraries due to missing DT_RUNPATH entries. This commit modifies the
mozilla Rust overlay to wrap the ld.lld driver.

Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
@simongdavies simongdavies merged commit 7a41b91 into hyperlight-dev:main Dec 10, 2025
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Guest-COW PRs that form part of the Guest-COW change kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants