mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
substitute: Deprecate replacements
, introduce replacementsList
Also: - Add tests - Treewide update - Improve docs
This commit is contained in:
parent
0151be1b32
commit
cd5dc76d83
9 changed files with 160 additions and 12 deletions
|
@ -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 ]; }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue