summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-05 07:54:11 -0500
committerShea Levy <shea@shealevy.com>2014-02-05 07:54:11 -0500
commit1e0352f80140510ac0d0fa303197fc75235049ec (patch)
tree2831683e27a7c52be64b12bbe6a1ed30cfce782f /nixos
parentb9fe0b8fb10bdc25d62fc766f04f2235205e1ef9 (diff)
downloadnixlib-1e0352f80140510ac0d0fa303197fc75235049ec.tar
nixlib-1e0352f80140510ac0d0fa303197fc75235049ec.tar.gz
nixlib-1e0352f80140510ac0d0fa303197fc75235049ec.tar.bz2
nixlib-1e0352f80140510ac0d0fa303197fc75235049ec.tar.lz
nixlib-1e0352f80140510ac0d0fa303197fc75235049ec.tar.xz
nixlib-1e0352f80140510ac0d0fa303197fc75235049ec.tar.zst
nixlib-1e0352f80140510ac0d0fa303197fc75235049ec.zip
Fix gummiboot builder
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/loader/gummiboot/gummiboot-builder.py4
1 files 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 f49c55c7e95e..db73544181b6 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])