Skip to content

Comments

thunderbirdPackages.thunderbird-102: convert to a throw#308820

Merged
alyssais merged 2 commits intoNixOS:masterfrom
vcunat:thunderbird-prune
May 12, 2024
Merged

thunderbirdPackages.thunderbird-102: convert to a throw#308820
alyssais merged 2 commits intoNixOS:masterfrom
vcunat:thunderbird-prune

Conversation

@vcunat
Copy link
Member

@vcunat vcunat commented May 3, 2024

Things done

  • Build-related checkboxes: N/A
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@vcunat
Copy link
Member Author

vcunat commented May 3, 2024

As pointed out, maybe someone could consider it a breaking change, even if the package was marked as insecure. In that case we'd need to wait with the merge after 24.05 fork-off.

@vcunat vcunat added the 8.has: clean-up This PR removes packages or removes other cruft label May 3, 2024
@vcunat vcunat changed the title thunderbirdPackages.thunderbird-102: remove thunderbirdPackages.thunderbird-102: convert to a throw May 3, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels May 3, 2024
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label May 4, 2024

pgoSupport = false; # console.warn: feeds: "downloadFeed: network connection unavailable"
};
thunderbird-102 = throw "Thunderbird 102 support ended in September 2023";
Copy link
Member

Choose a reason for hiding this comment

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

Throws like this should be gated on config.allowAliases.

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you reference why?

Copy link
Member

Choose a reason for hiding this comment

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

  1. It's just what the convention in Nixpkgs is. top-level throws go in aliases.nix, which isn't included if allowAliases is set to false, and it's nice to not have that be surprisingly different for non-top-level ones.
  2. It makes it so that there's a way to bulid a whole package set at once, even if it contains throws — nix-build -A thunderbirdPackages --arg config '{allowAliases = false;}'.

@alyssais alyssais merged commit 45946fb into NixOS:master May 12, 2024
@vcunat vcunat deleted the thunderbird-prune branch May 12, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants