nixos/limine: substituteAll -> replaceVarsWith

This commit is contained in:
nat 2025-05-13 23:14:43 +02:00
parent fab95ba4b9
commit e51e0da386
No known key found for this signature in database

View file

@ -358,14 +358,15 @@ in
system = { system = {
boot.loader.id = "limine"; boot.loader.id = "limine";
build.installBootLoader = pkgs.substituteAll { build.installBootLoader = pkgs.replaceVarsWith {
src = ./limine-install.py; src = ./limine-install.py;
isExecutable = true; isExecutable = true;
replacements = {
python3 = pkgs.python3.withPackages (python-packages: [ python-packages.psutil ]); python3 = pkgs.python3.withPackages (python-packages: [ python-packages.psutil ]);
configPath = limineInstallConfig; configPath = limineInstallConfig;
}; };
}; };
};
}) })
]; ];
} }