Hacker News new | ask | show | jobs
by awegio 1102 days ago
> Node packages work much better

Are you sure about that? I haven't seen a node app built from source on nixpkgs yet. That includes Electron apps like Signal Desktop, which is a bit disappointing.

There is this article about trying to package jQuery on Guix:

http://dustycloud.org/blog/javascript-packaging-dystopia/

2 comments

Grep nixpkgs for `buildNpmPackage`, it's ridiculously easy to package a node app nowadays.
Yes, buildNpmPackage works great.
Guix has several different npm importers (none of them merged), but it's debatable whether it is desirable to build npm packages from source when it either creates thousands of barely useful packages.