• hallettj@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    Nice! I was looking for something like this a couple of days ago, and I landed on serokell/nix-npm-buildpackage. But I can see that the adisbladis one has a couple of advantages: it puts each dependency in its own store path so you get more cache hits, and it supports dependencies that want to write to node_modules.

    There is also a buildNpmPackage in nixpkgs but it wants a dependencies hash up-front which is not what I’m looking for.