From 379632c446c011bfdc7db031646239a31b5b25fd Mon Sep 17 00:00:00 2001 From: Nico D'Cotta <45274424+Cottand@users.noreply.github.com> Date: Wed, 29 May 2024 09:52:32 +0100 Subject: [PATCH] fix bug where name in buildEif was not carried over to EIF filename (#15) --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index fa3110e..99ab836 100644 --- a/flake.nix +++ b/flake.nix @@ -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 @@ -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; })