Skip to content

Commit

Permalink
fix bug where name in buildEif was not carried over to EIF filename (#15
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cottand authored May 29, 2024
1 parent 20b1b63 commit 379632c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
inherit pkgs;

buildEif =
{ name ? "image"
{ name ? "image-linux-${arch}-${version}-eif"
, version ? "0.1-dev"
, kernel # path (derivation) to compiled kernel binary
, kernelConfig # path (derivation) to kernel config file
Expand All @@ -213,7 +213,7 @@
rootfs = if copyToRootWithClosure then nixStoreFrom copyToRoot else copyToRoot;
in
lib.mkEif {
inherit kernel kernelConfig cmdline arch;
inherit kernel kernelConfig cmdline arch name version;

ramdisks = [
(lib.mkSysRamdisk { inherit init nsmKo; })
Expand Down

0 comments on commit 379632c

Please sign in to comment.