about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2024-02-09 04:30:09 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-02-29 00:35:27 +0100
commitcd5dc76d8340c38487d1b48a3ba090683fa35493 (patch)
treecc863ca7b4dfb80e3df0f31142af877b723707e2 /nixos/modules/system
parent0151be1b329b9b8eeed6e035a415f571b49ae356 (diff)
substitute: Deprecate `replacements`, introduce `replacementsList`
Also:
- Add tests
- Treewide update
- Improve docs
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd/coredump.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd/coredump.nix b/nixos/modules/system/boot/systemd/coredump.nix
index 03ef00e5683c1..271d8f86d0e61 100644
--- a/nixos/modules/system/boot/systemd/coredump.nix
+++ b/nixos/modules/system/boot/systemd/coredump.nix
@@ -52,7 +52,7 @@ in {
           # See: https://github.com/NixOS/nixpkgs/issues/213408
           pkgs.substitute {
             src = "${systemd}/example/sysctl.d/50-coredump.conf";
-            replacements = [
+            substitutions = [
               "--replace"
               "${systemd}"
               "${pkgs.symlinkJoin { name = "systemd"; paths = [ systemd ]; }}"