From 85014f358b3bc0c29ac50487235f62251e0d0471 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 16 Mar 2022 12:17:10 +0100 Subject: [PATCH] formats kexec: fix multiple definition --- formats/kexec.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/formats/kexec.nix b/formats/kexec.nix index 9d62c39..279d834 100644 --- a/formats/kexec.nix +++ b/formats/kexec.nix @@ -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;