Merge pull request #217 from SuperSandro2000/cargo-auditable
Fix lzbt build with recent nixos-unstable
This commit is contained in:
commit
f13848606f
13
flake.nix
13
flake.nix
|
@ -80,9 +80,16 @@
|
||||||
|
|
||||||
inherit (pkgs) lib;
|
inherit (pkgs) lib;
|
||||||
|
|
||||||
stub = uefiPkgs.callPackage ./nix/packages/stub.nix { };
|
stub = uefiPkgs.callPackage ./nix/packages/stub.nix {
|
||||||
fatStub =
|
# cargo-auditable fails to build with: could not execute process .... No such file or directory (os error 2)
|
||||||
uefiPkgs.callPackage ./nix/packages/stub.nix { fatVariant = true; };
|
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 { };
|
tool = pkgs.callPackage ./nix/packages/tool.nix { };
|
||||||
|
|
||||||
wrappedTool = pkgs.runCommand "lzbt"
|
wrappedTool = pkgs.runCommand "lzbt"
|
||||||
|
|
Loading…
Reference in New Issue