1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-08 01:51:04 +01:00

treewide: substituteAll -> replaceVars/substitute

substituteAll is now officially deprecated.
This commit is contained in:
K900 2025-04-24 12:41:47 +03:00 committed by Robert Helgesson
parent d31710fb2c
commit abfad3d295
12 changed files with 56 additions and 43 deletions

View file

@ -30,9 +30,13 @@
assertFileContent \
home-files/.config/systemd/user/emacs.service \
${pkgs.substituteAll {
inherit (pkgs) runtimeShell;
${pkgs.substitute {
src = ./emacs-service-emacs-after-graphical-session-target.service;
substitutions = [
"--replace"
"@runtimeShell@"
pkgs.runtimeShell
];
}}
assertFileContent \