diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-14 14:52:52 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-14 15:42:19 -0800 |
commit | 87502df43b246c020ff47e99e1d06c4fbb36022f (patch) | |
tree | 214d789e62beb21b3c4831cb3db94d728783a5f6 /nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py | |
parent | 297cb6514fbc8a547438319d2eaa4ce6b98c856a (diff) |
nixos/systemd-boot: fix error output
Diffstat (limited to 'nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py')
-rw-r--r-- | nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py index 2980b4ba6857..adc893063098 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py @@ -271,7 +271,7 @@ def main() -> None: if os.readlink(system_dir(*gen)) == args.default_config: write_loader_conf(*gen) except OSError as e: - print("ignoring profile '{}' in the list of boot entries because of the following error:\n{}".format(profile, e), file=sys.stderr) + print("ignoring generation '{}' in the list of boot entries because of the following error:\n{}".format(*gen, e), file=sys.stderr) for root, _, files in os.walk('@efiSysMountPoint@/efi/nixos/.extra-files', topdown=False): relative_root = root.removeprefix("@efiSysMountPoint@/efi/nixos/.extra-files").removeprefix("/") |