From f2318b9d581cb5a066428297371fe83b7e7cdee4 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 6 Jun 2024 18:33:30 +0200 Subject: [PATCH] nixos/boot: use `--replace-fail` --- nixos/modules/system/boot/systemd/coredump.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd/coredump.nix b/nixos/modules/system/boot/systemd/coredump.nix index 1f29f6686d0d..ccf5d449b94a 100644 --- a/nixos/modules/system/boot/systemd/coredump.nix +++ b/nixos/modules/system/boot/systemd/coredump.nix @@ -53,7 +53,7 @@ in { pkgs.substitute { src = "${systemd}/example/sysctl.d/50-coredump.conf"; substitutions = [ - "--replace" + "--replace-fail" "${systemd}" "${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}" ];