Skip to content

Commit

Permalink
Fix native builds of tinybootLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbaur committed Feb 15, 2025
1 parent 04530ff commit 27ba0b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkgs/tinyboot/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
firmwareDirectory ? null,
tinybootTools,
withLoader ? true,
withTools ? true,
withLoader,
withTools,
zigForTinyboot,

callPackage,
Expand Down Expand Up @@ -46,10 +46,10 @@ stdenv.mkDerivation {
zigForTinyboot
] ++ lib.optional (!withTools) tinybootTools;

buildInputs = lib.optionals withTools [
openssl
xz
];
buildInputs =
lib.optional withTools openssl # tboot-sign
++ lib.optional (withTools || stdenv.buildPlatform.canExecute stdenv.hostPlatform) xz # tboot-initrd
;

zigBuildFlags =
[
Expand Down

0 comments on commit 27ba0b2

Please sign in to comment.