nix: rename lanzatoolBin to lanzatool-unwrapped

This commit is contained in:
Julian Stecklina 2022-11-26 02:16:12 +01:00
parent 74b815512c
commit 691da44610
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
lanzaboote = buildRustEfiApp ./rust/lanzaboote;
lanzatoolBin = naersk-nightly.buildPackage {
lanzatool-unwrapped = naersk-nightly.buildPackage {
src = ./rust/lanzatool;
buildInputs = [ pkgs.binutils ];
};
@ -82,7 +82,7 @@
# Clean PATH to only contain what we need to do objcopy. Also
# tell lanzatool where to find our UEFI binaries.
makeWrapper ${lanzatoolBin}/bin/lanzatool $out/bin/lanzatool \
makeWrapper ${lanzatool-unwrapped}/bin/lanzatool $out/bin/lanzatool \
--set PATH ${lib.makeBinPath [ pkgs.binutils-unwrapped pkgs.sbsigntool ]} \
--set RUST_BACKTRACE full \
--set LANZABOOTE_STUB ${lanzaboote}/bin/lanzaboote.efi \