Repository navigation
lanzaboote-{tool,uefi-stub}: init at 1.2.0 - #496059
ThinkChaos wants to merge 4 commits into
Conversation
|
Thanks for the PR, can you add me as a maintainer as well? Thanks. |
|
Note (this is not a proper review tool so I cannot do the review where it should be): there's a typo in a commit message where |
|
During compilation, this is full of warnings like this: Why are they safe to ignore? |
b4f04a5 to
e5de0f7
Compare
For which derivation do you see those? Edit: found it |
This is more of an educated guess at this point, but I believe I believe this is where we tell rustc to use the wrapped compiler: We could potentially change that to the unwrapped version, or conditionally silence the warning via NIX_CC_WRAPPER_SUPPRESS_TARGET_WARNING=1, but I definitely don't understand all the repercussions that would have.
|
|
Any plans to add a NixOS module for this? #263713? |
What annoyed me enough to work on this was having crane & rust-overlay in my system closure. |
In any case having the package would is the harder part the module can be also ported by someone else. |
e5de0f7 to
f6a1eed
Compare
There was a problem hiding this comment.
Thanks for contributing to the documentation
Make sure you follow the documentation style guide, most notably:
- Show, don't tell: lead with a minimal working example; explanation follows the code.
- No meta-commentary: don't write "This section explains how to…", just do it.
- Imperative mood and active voice: "Run the command", not "The user should run the following command".
- Present tense: "This creates a folder", not "This will create a folder".
- Be confident: no hedging with "should", "might", "typically", "usually".
- Cut filler words: "simply", "just", "easily", "basically"; "to", not "in order to".
For larger changes, like adding or removing whole sections, ask the NixOS documentation team for a review.
f6a1eed to
8d437fb
Compare
|
I updated the packages to 1.2.0, the latest release ATM. And after bouncing off it a bunch of times, figured out the only, AFAIK, blocker:
Rust UEFI target predates LLVM's so cc-rs has a workaround that rewrites There's a PR open to fix it in cc-rs but it has been pending for a while: rust-lang/rust#132570 |
Now that we have UEFI platform support via #477645, we can build the Lanzaboote CLI (previously packaged and removed) and UEFI stub (PR'ed but never merged).
I've only included x86_64 support because that's what I've built and tested.
I also applied the changes proposed by #368246
Since these were packaged/proposed, pinging previous maintainers: @blitz @nikstur @RaitoBezarius.
Let me know if you'd like to be added as maintainers.
Supersedes: #353052 (@baloo).
Thank you to everyone who has worked on this before me. I definitely couldn't have gotten UEFI to build without all your work!
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.