Skip to content

Commit

Permalink
add meta.mainProgram attribute to lzbt(tool) binary
Browse files Browse the repository at this point in the history
  • Loading branch information
kuflierl committed Oct 3, 2024
1 parent eec55b9 commit 5e2a763
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# Derive the output overlay automatically from all packages that we define.
inputs.flake-parts.flakeModules.easyOverlay

# Formatting and quality checks.
# Formatting and quality checks.
] ++ (if inputs.pre-commit-hooks-nix ? flakeModule then [ inputs.pre-commit-hooks-nix.flakeModule ] else [ ]);

flake.nixosModules.lanzaboote = moduleWithSystem (
Expand Down Expand Up @@ -174,6 +174,7 @@
wrappedTool = pkgs.runCommand "lzbt"
{
nativeBuildInputs = [ pkgs.makeWrapper ];
meta.mainProgram = "lzbt";
} ''
mkdir -p $out/bin
Expand Down

0 comments on commit 5e2a763

Please sign in to comment.