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

@ -14,9 +14,13 @@ let
withName =
path:
pkgs.substituteAll {
pkgs.substitute {
src = path;
name = cfg.wrappedPackageName;
substitutions = [
"--replace"
"@name@"
cfg.wrappedPackageName
];
};
in