Skip to content

unable to use nodejs_16 because it is EOL #293172

Closed

Description

@pca006132

Describe the bug

Some packages, e.g. grammarly-languageserver requires nodejs_16 (znck/grammarly#334), but I cannot override the nodejs version of the package to nodejs_16 because it is EOF.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Override nodejs version of some nodejs package by doing
    (nodePackages_latest.grammarly-languageserver.overrideAttrs (old: {
      nodejs = pkgs.nodejs-16_x;
    }))
  2. See the error message.

Expected behavior

Allow forcing the use of EOL packages, or maybe officially state that this is not supported and mark the package as broken.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Mar 4, 2024
  2. jpds commented on Mar 4, 2024

    @jpds
    Contributor

    Allow forcing the use of EOL packages, or maybe officially state that this is not supported

    If you run: nix-shell -p nodejs-16_x, you'll get all the instructions on how to do this.

    mark the package as broken.

    This has been marked as broken:

    nodejs_16 = throw "nodejs_16 has been removed as it is EOL."; # Added 2023-10-30

  3. pca006132 commented on Mar 4, 2024

    @pca006132
    ContributorAuthor

    Sorry, I was not aware that I can get instructions when doing nix-shell -p directly. Will do.

    For marking the package as broken, I mean grammarly-languageserver instead of nodejs_16. Sorry for the bad wording.

  4. added
    6.topic: nodejs
    on Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: nodejs

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions