Merge pull request #317785 from drupol/nixos-boot-use-replace-fail

nixos/boot: use `--replace-fail`
This commit is contained in:
Florian Klink 2024-06-06 20:54:18 +02:00 committed by GitHub
commit 610a87e260
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ in {
pkgs.substitute { pkgs.substitute {
src = "${systemd}/example/sysctl.d/50-coredump.conf"; src = "${systemd}/example/sysctl.d/50-coredump.conf";
substitutions = [ substitutions = [
"--replace" "--replace-fail"
"${systemd}" "${systemd}"
"${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}" "${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}"
]; ];