Merge pull request #140 from nix-community/kexec

formats kexec: fix mutliple definition
This commit is contained in:
Lassulus 2022-03-16 14:37:29 +01:00 committed by GitHub
commit 0d02820bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,12 @@ in {
]; ];
system.build = rec { system.build = rec {
kexec_tarball = pkgs.callPackage "${toString modulesPath}/../lib/make-system-tarball.nix" { kexec_tarball = lib.mkForce (pkgs.callPackage "${toString modulesPath}/../lib/make-system-tarball.nix" {
storeContents = [ storeContents = [
{ object = config.system.build.kexec_script; symlink = "/kexec_nixos"; } { object = config.system.build.kexec_script; symlink = "/kexec_nixos"; }
]; ];
contents = []; contents = [];
}; });
kexec_tarball_self_extract_script = pkgs.writeTextFile { kexec_tarball_self_extract_script = pkgs.writeTextFile {
executable = true; executable = true;