Merge pull request #217 from SuperSandro2000/cargo-auditable

Fix lzbt build with recent nixos-unstable
This commit is contained in:
Julian Stecklina 2023-08-11 15:47:01 +02:00 committed by GitHub
commit f13848606f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -80,9 +80,16 @@
inherit (pkgs) lib;
stub = uefiPkgs.callPackage ./nix/packages/stub.nix { };
fatStub =
uefiPkgs.callPackage ./nix/packages/stub.nix { fatVariant = true; };
stub = uefiPkgs.callPackage ./nix/packages/stub.nix {
# cargo-auditable fails to build with: could not execute process .... No such file or directory (os error 2)
rustPlatform = uefiPkgs.makeRustPlatform {
inherit (uefiPkgs.buildPackages) rustc;
cargo = uefiPkgs.buildPackages.cargo.override {
auditable = false;
};
};
};
fatStub = stub.override { fatVariant = true; };
tool = pkgs.callPackage ./nix/packages/tool.nix { };
wrappedTool = pkgs.runCommand "lzbt"