Merge pull request #143 from nix-community/kexec-bundle

kexec-bundle: get kexec_tarball from module system
This commit is contained in:
Lassulus 2022-04-08 13:45:23 +01:00 committed by GitHub
commit 788a310a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
'';