From 8c8ba680ec4ce40840e98bc03a11e816c9035c8b Mon Sep 17 00:00:00 2001 From: nat Date: Tue, 13 May 2025 23:14:43 +0200 Subject: [PATCH] nixos/limine: substituteAll -> replaceVarsWith (cherry picked from commit e51e0da386fa40ba26d72c92f61e387c45ef964d) --- nixos/modules/system/boot/loader/limine/limine.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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; + }; }; }; })