Open countoren opened 1 year ago
I believe this is because node2nix
will initially generate files for private repos, but the resulting derivations will not build, because they rely on nixpkgs' fetchurl
, which has all sorts of problems with private repos. I have a disgusting hack for my use case.
See also:
In short: a massive rabbithole! I think it should be possible to patch node2nix
to cope with private repos. I'm trying to figure out how to add a test for the private repo case, so it doesn't regress.
Some of the npm packages are from private repo the project that I am trying to package in nix had .npmrc that old the token it has the following shape:
I was generating the nix files with:
when nix build (default is wired to flake) on package getting the following error:
Running directly with npm ci will build the project completly.
Any help. thanks.