Skip to content

RFC: remove node packages #14532

@gilligan

Description

@gilligan

I just had a look at node-packages-generated.nix. While I didn't go through every single package basically any package that I picked out was utterly outdated. I sure hope nobody is relying on those packages and so I currently see little value in having those.

In #13103 (comment) @svanderburg comments:

The only NPM packages that should be in Nixpkgs IMO are:

  • Command-line utilities/end-user programs
  • Library packages that are dependencies of non-NPM packages

I would thus suggest to do exactly that: remove most of node-packages.json leaving only what falls into one of the two categories above.

It is too bad that interfacing with npm is such a flakey business so the integration cannot be automated further to allow for up to date packages with less manual work. Which is exactly the reason why the scope of included node packages should be limited.

I'm happy to provide a PR if this OK with everyone.

/cc @zimbatm @lo1tuma

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nodejsNode.js is a free, open-source, cross-platform JavaScript runtime environment9.needs: reporter feedbackThis issue needs the person who filed it to respond
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions