From d9de54155c391058f600db30eec71e2b4c33332d Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 29 Mar 2022 10:12:46 +0200 Subject: [PATCH] kexec-bundle: get kexec_tarball from module system --- formats/kexec.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/kexec.nix b/formats/kexec.nix index 279d834..8d8b433 100644 --- a/formats/kexec.nix +++ b/formats/kexec.nix @@ -40,7 +40,7 @@ in { kexec_bundle = pkgs.runCommand "kexec_bundle" {} '' cat \ ${kexec_tarball_self_extract_script} \ - ${kexec_tarball}/tarball/nixos-system-${kexec_tarball.system}.tar.xz \ + ${config.system.build.kexec_tarball}/tarball/nixos-system-${kexec_tarball.system}.tar.xz \ > $out chmod +x $out '';