-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I'm currently trying to package this for Nixpkgs/NixOS and it's proving to be quite difficult.
Mostly because the tool tries to dynamically download quite a few things during build time. Most other distros will have a similarly hard time packaging this because almost all Linux distros nowadays care about reproducible builds and thus disable or discourage downloading stuff at build time.
There's three instances where files are expected to be download:
- node_extra_ca_certs_mozilla_bundle: which implicitly downloads file at installation (which seems troublesome for other reasons)
- retrieve-hsts.js
- retrieve-tld-list.js
I think the solution to this is to download these files during the normal operation of the tool, store them in a user config location e.g. ~/.config and occasionally refresh them.
I think this tool is really cool and I wish I could package it for Nixpkgs to make it easily available to a broader audience.