Skip to content

Warn when End Of Life #9556

Open
Open
@roberth

Description

Is your feature request related to a problem? Please describe.

Sometimes users find themselves running an old version. Possibly only after a long and unnecessary debugging session.

Describe the solution you'd like

  • When the current time is larger than the planned end-of-life date of a Nix release, print a warning.

Warnings can be annoying.

  • Perhaps only print a warning once a day.
  • Allow the warning to be disabled with a setting.

Warnings will throw off the test suite

  • Disable the warning in the functional tests.

Experimental features suffer more significantly from this problem.

  • Perhaps go EOL sooner if experimental features are enabled.
    • I believe we might not be ready to support such a release cadence confidently, but perhaps in a year or two we may.

Describe alternatives you've considered

  • Don't help users with upgrading
  • Only enable the warning when the official installer is used. E.g. NixOS should nag on its own.
  • Brown-outs

Additional context

Priorities

Add 👍 to issues you find important.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    error-messagesConfusing messages and better diagnosticsfeatureFeature request or proposalidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.processIssues related to the development process of Nix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions