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

project: move to nixpkgs Rust infrastructure #147

Merged
merged 2 commits into from
Jun 12, 2023

Commits on Jun 10, 2023

  1. project: move to nixpkgs Rust infrastructure

    This builds the stub and tool using `rustPlatform.buildRustPackage`
    which features a stable Rust compiler, recent enough to support UEFI
    targets.
    
    In the future, it will rely on properly defined targets for UEFI in
    nixpkgs.
    RaitoBezarius committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    5b22893 View commit details
    Browse the repository at this point in the history
  2. project: perform clippy/rustfmt checking via a higher order derivatio…

    …n transformer
    
    Instead of patching the derivation in-place via flags, we just have
    a higher order function that takes the Rust package derivation and override it
    into a Rustfmt / Clippy oriented derivation: it turns off checks and adds its
    required dependencies.
    RaitoBezarius committed Jun 10, 2023
    Configuration menu
    Copy the full SHA
    b77ef07 View commit details
    Browse the repository at this point in the history