Skip to content

Commit

Permalink
use new version of aws-nitro-util in ./examples, set timestamp to epo…
Browse files Browse the repository at this point in the history
…ch in eif metadata
  • Loading branch information
cottand committed Aug 26, 2024
1 parent 4e9eccf commit bb82231
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eif_build/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# USAGE:
# eif_build [OPTIONS] --kernel <FILE> --cmdline <String> --output <FILE> --ramdisk <FILE>
rustPlatform.buildRustPackage {
name = "eif-cli";
name = "eif_build";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
src = fetchFromGitHub {
Expand Down
2 changes: 1 addition & 1 deletion examples/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
buildInputs = [ packages.eif_build pkgs.jq ];
unpackPhase = ":"; # nothing to unpack
ramdisksArgs = with pkgs.lib; concatStrings (map (ramdisk: "--ramdisk ${ramdisk} ") ramdisks);
metadataArgs = "--build-tool='monzo-aws-nitro-util'";
metadataArgs = "--build-tool='monzo-aws-nitro-util' --build-time='1970-01-01T00:00:00.000000+00:00'";

buildPhase = ''
echo "Kernel: ${kernel}"
Expand Down

0 comments on commit bb82231

Please sign in to comment.