Closed soywod closed 1 year ago
Does passing -k NODE_AUTH_TOKEN
to nix develop
fix it?
Is this a cachix issue? Could this be closed?
Maybe with some documentation about the issue it can be closed.
Does --keep / -k
work with nix develop
? It requires adding the --ignore-environment
flag, which then completely breaks the shell for me.
nix develop --impure
definitely works though.
I have a step that publishes my node lib to NPM:
This command fails because
yarn publish
cannot find theNODE_AUTH_TOKEN
env var. If I remove thenix develop -c
it works as expected, but I would prefer using the node version packed with nix. Any idea on how to deal with this?