nixos/systemd-boot: fix substituteAll usage (#350081)

This commit is contained in:
K900
2024-10-20 21:49:36 +03:00
committed by GitHub

View File

@@ -74,8 +74,6 @@ let
netbootxyz = optionalString cfg.netbootxyz.enable pkgs.netbootxyz-efi;
edk2-uefi-shell = optionalString cfg.edk2-uefi-shell.enable pkgs.edk2-uefi-shell;
checkMountpoints = pkgs.writeShellScript "check-mountpoints" ''
fail() {
echo "$1 = '$2' is not a mounted partition. Is the path configured correctly?" >&2