Skip to content

[26.05] thunderbird-latest-unwrapped: 155.0 -> 156.0 - #564120

Merged
vcunat merged 7 commits into
staging-next-26.05from
backport-564083-to-release-26.05
Sep 17, 2026
Merged

vcunat merged 7 commits into
staging-next-26.05from
backport-564083-to-release-26.05

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to release-26.05, triggered by a label in #564083.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

haoren-zhou and others added 7 commits September 11, 2026 23:09
efibootmgr rejects -o when BootOrder contains IDs without corresponding BootXXXX variables (which can come from certain BIOS implementations).

Fix by recreating Limine entry at previous position using -c --index, or use -C if Limine was not in BootOrder.

(cherry picked from commit 4dd37d8)
(cherry picked from commit a8ef914)
(cherry picked from commit fc7b58b)
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 4.workflow: backport This targets a stable branch labels Sep 17, 2026
@vcunat vcunat changed the title [Backport release-26.05] thunderbird-latest-unwrapped: 155.0 -> 156.0 [26.05] thunderbird-latest-unwrapped: 155.0 -> 156.0 Sep 17, 2026
@vcunat
vcunat changed the base branch from release-26.05 to staging-next-26.05 September 17, 2026 06:21
@nixpkgs-ci nixpkgs-ci Bot closed this Sep 17, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Sep 17, 2026
@vcunat
vcunat added this pull request to the merge queue Sep 17, 2026

@nixpkgs-branch-check nixpkgs-branch-check Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR's base branch is set to staging-next-26.05, but 6 commits from the release-26.05 branch are included. Make sure you know the right base branch for your changes, then:

  • If the changes should go to the release-26.05 branch, change the base branch.
  • If the changes should go to the staging-next-26.05 branch, rebase your PR onto the correct merge-base:
    # git rebase --onto $(git merge-base upstream/staging-next-26.05 HEAD) $(git merge-base upstream/release-26.05 HEAD)
    git rebase --onto 087cd22e10f173d1a43fec9d19364de37b0c5f91 0cf260908aba79f37f1cbc87821a7eb7ae78901b
    git push --force-with-lease

@nixpkgs-commit-check nixpkgs-commit-check Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Please follow the backporting guidelines and cherry-pick with the -x flag.
This requires changes to the unstable master and staging branches first, before backporting them.

Occasionally, commits are not cherry-picked at all, for example when updating minor versions of packages which have already advanced to the next major on unstable.
These commits can optionally be marked with a Not-cherry-picked-because: <reason> footer.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between d932465 and original 4dd37d8 may warrant inspection.

Show diff
@@ Commit message
 
     Fix by recreating Limine entry at previous position using -c --index, or use -C if Limine was not in BootOrder.
 
+    (cherry picked from commit 4dd37d80c3de1be68418ac940ffe2774dd517081)
+
  ## nixos/modules/system/boot/loader/limine/limine-install.py ##
 @@ nixos/modules/system/boot/loader/limine/limine-install.py: def install_bootloader() -> None:
-                     boot_order = re.findall(
-                         r"BootOrder: ((?:[0-9a-fA-F]{4},?)*)", efibootmgr_output
-                     )[0]
-+                    normalized_boot_order = boot_order.upper().split(",")
-+                    create_options = ["-C"]
+                 # If there's already a Limine entry, replace it
+                 if limine_boot_entry:
+                     boot_order = re.findall(r'BootOrder: ((?:[0-9a-fA-F]{4},?)*)', efibootmgr_output)[0]
++                    normalized_boot_order = boot_order.upper().split(',')
++                    create_options = ['-C']
 +                    if limine_boot_entry.upper() in normalized_boot_order:
 +                        create_options = [
-+                            "-c",
-+                            "--index",
++                            '-c',
++                            '--index',
 +                            str(normalized_boot_order.index(limine_boot_entry.upper())),
 +                        ]
  
-                     efibootmgr_output = subprocess.check_output(
-                         [
+                     efibootmgr_output = subprocess.check_output([
+                         efibootmgr,
 @@ nixos/modules/system/boot/loader/limine/limine-install.py: def install_bootloader() -> None:
-                     efibootmgr_output = subprocess.check_output(
-                         [
+ 
+                     efibootmgr_output = subprocess.check_output([
                          efibootmgr,
--                            "-c",
+-                        '-c',
 +                        *create_options,
-                             "-b",
-                             limine_boot_entry,
-                             "-d",
-@@ nixos/modules/system/boot/loader/limine/limine-install.py: def install_bootloader() -> None:
-                             f"\\efi\\limine\\{boot_file}",
-                             "-L",
-                             "Limine",
--                            "-o",
--                            boot_order,
-                         ],
-                         stderr=subprocess.STDOUT,
-                         universal_newlines=True,
+                         '-b', limine_boot_entry,
+                         '-d', efi_disk,
+                         '-p', efi_partition.removeprefix(efi_disk).removeprefix('p'),
+                         '-l', f'\\efi\\limine\\{boot_file}',
+                         '-L', 'Limine',
+-                        '-o', boot_order,
+                     ], stderr=subprocess.STDOUT, universal_newlines=True)
+                 else:
+                     efibootmgr_output = subprocess.check_output([

Warning

Couldn't locate the cherry-picked commit's hash in the commit message of 385da87.

Warning

Couldn't locate the cherry-picked commit's hash in the commit message of 7be6137.

Warning

Couldn't locate the cherry-picked commit's hash in the commit message of 0cf2609.

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@nixpkgs-ci nixpkgs-ci Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Sep 17, 2026
Merged via the queue into staging-next-26.05 with commit 48cf25b Sep 17, 2026
63 checks passed
@vcunat
vcunat deleted the backport-564083-to-release-26.05 branch September 17, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants