npm2nix icon indicating copy to clipboard operation
npm2nix copied to clipboard

Disable npm user config

Open pikajude opened this issue 9 years ago • 2 comments

A user's ~/.npmrc might have, for example, a different registry URL, which could end up generating the wrong package set. This behavior can be disabled manually with npm_config_userconfig=/dev/null npm2nix [...], but it'd be nicer not to need to remember.

pikajude avatar Jan 22 '16 19:01 pikajude

We probably ought to default it to /dev/null, but provide a flag to choose the config. My team makes use of an internal registry of private packages, so we'd need a way to use configure registries and SSL options.

cstrahan avatar Apr 04 '16 23:04 cstrahan

I think everyone's team uses a registry of private packages, but on the other hand, I don't believe fetchurl can handle private registries yet...

pikajude avatar Apr 05 '16 01:04 pikajude