diff --git a/nixos/modules/system/boot/loader/limine/limine.nix b/nixos/modules/system/boot/loader/limine/limine.nix index 182868bd6973..14aa49ae579d 100644 --- a/nixos/modules/system/boot/loader/limine/limine.nix +++ b/nixos/modules/system/boot/loader/limine/limine.nix @@ -358,12 +358,13 @@ in system = { boot.loader.id = "limine"; - build.installBootLoader = pkgs.substituteAll { + build.installBootLoader = pkgs.replaceVarsWith { src = ./limine-install.py; isExecutable = true; - - python3 = pkgs.python3.withPackages (python-packages: [ python-packages.psutil ]); - configPath = limineInstallConfig; + replacements = { + python3 = pkgs.python3.withPackages (python-packages: [ python-packages.psutil ]); + configPath = limineInstallConfig; + }; }; }; })