Open kidd opened 4 years ago
I'm quite new to nix. Even I got yarn2nix to work for 100% public dependencies, now an app I'm trying to package depends on a private repo.
A common usecase for private packages is when they still live in the usual registry.nmpjs.org, but you'd need a token to get them.
The usual way is to npm config set //registry.npmjs.org/:_authToken=$MY_TOKEN, but I failed to get that working.
Could someone with more nix-fu add a snippet to solve this (if it's easy enough) in the readme?
Thanks!
I'm quite new to nix. Even I got yarn2nix to work for 100% public dependencies, now an app I'm trying to package depends on a private repo.
A common usecase for private packages is when they still live in the usual registry.nmpjs.org, but you'd need a token to get them.
The usual way is to npm config set //registry.npmjs.org/:_authToken=$MY_TOKEN, but I failed to get that working.
Could someone with more nix-fu add a snippet to solve this (if it's easy enough) in the readme?
Thanks!