formats kexec: fix multiple definition

This commit is contained in:
lassulus 2022-03-16 12:17:10 +01:00
parent aa5e966498
commit 85014f358b

View File

@ -13,12 +13,12 @@ in {
];
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 = [
{ object = config.system.build.kexec_script; symlink = "/kexec_nixos"; }
];
contents = [];
};
});
kexec_tarball_self_extract_script = pkgs.writeTextFile {
executable = true;