mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-08-17 08:00:22 +03:00
kexec-bundle: get kexec_tarball from module system
This commit is contained in:
parent
9f56b704ff
commit
d9de54155c
@ -40,7 +40,7 @@ in {
|
|||||||
kexec_bundle = pkgs.runCommand "kexec_bundle" {} ''
|
kexec_bundle = pkgs.runCommand "kexec_bundle" {} ''
|
||||||
cat \
|
cat \
|
||||||
${kexec_tarball_self_extract_script} \
|
${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
|
> $out
|
||||||
chmod +x $out
|
chmod +x $out
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user