Skip to content

Commit 46d194b

Browse files
brianmcgillionastro
authored andcommitted
fix(substituteAll): use replaceVars
substituteAll has been deprecated so will start to cause warnings on 25.05 and nixos-unstable. NixOS/nixpkgs#395275 Signed-off-by: Brian McGillion <[email protected]>
1 parent 5beafeb commit 46d194b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nixos-modules/microvm/virtiofsd/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ in
2424

2525
"eventlistener:notify" = {
2626
command = pkgs.writers.writePython3 "supervisord-event-handler" { } (
27-
pkgs.substituteAll {
28-
src = ./supervisord-event-handler.py;
27+
pkgs.replaceVars ./supervisord-event-handler.py {
2928
virtiofsdCount = builtins.length virtiofsShares;
3029
}
3130
);

0 commit comments

Comments
 (0)