From 1e0352f80140510ac0d0fa303197fc75235049ec Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 5 Feb 2014 07:54:11 -0500 Subject: [PATCH] Fix gummiboot builder Signed-off-by: Shea Levy --- .../modules/system/boot/loader/gummiboot/gummiboot-builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/system/boot/loader/gummiboot/gummiboot-builder.py b/nixos/modules/system/boot/loader/gummiboot/gummiboot-builder.py index f49c55c7e95..db73544181b 100644 --- a/nixos/modules/system/boot/loader/gummiboot/gummiboot-builder.py +++ b/nixos/modules/system/boot/loader/gummiboot/gummiboot-builder.py @@ -74,8 +74,8 @@ def remove_old_entries(gens): slice_end = -1 * len(".conf") known_paths = [] for gen in gens: - known_paths.append copy_from_profile(gen, "kernel", True) - known_paths.append copy_from_profile(gen, "initrd", True) + known_paths.append(copy_from_profile(gen, "kernel", True)) + known_paths.append(copy_from_profile(gen, "initrd", True)) for path in glob.iglob("@efiSysMountPoint@/loader/entries/nixos-generation-[1-9]*.conf"): try: gen = int(path[slice_start:slice_end])