| 10 Aug 2023 |
countoren | I guess ill go with systemctl set-environment | 00:32:37 |
Lily Foster | In reply to @countoren:matrix.org Lily Foster: so /etc/systemd/system/nix-daemon.service.d/overrides.conf is a symlink to the store. I could overwrite with my own copy it and add the env var, but is it correct? You can also add a new file in that dir | 00:35:57 |
Lily Foster | In reply to @countoren:matrix.org I guess ill go with systemctl set-environment But that works too :) | 00:36:02 |
countoren | so given this npmrc for my token now:
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=11111111111111111111111111111111111111111111111
| 00:36:45 |
Lily Foster | In reply to @me:indeednotjames.com alright, thanks! :) Yep, it looks like nodejs finally released the sources a couple hours ago and marsam has already opened https://github.com/NixOS/nixpkgs/pull/248230 | 00:36:50 |
Lily Foster | In reply to @countoren:matrix.org
so given this npmrc for my token now:
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=11111111111111111111111111111111111111111111111
Yeah that would become NIX_NPM_TOKENS={"npm.fontawesome.com":"111111111111111111111"} in the environment for the fetcher | 00:37:59 |
countoren | In reply to @lily:lily.flowers Yeah that would become NIX_NPM_TOKENS={"npm.fontawesome.com":"111111111111111111111"} in the environment for the fetcher thank you ill do it right, didnt know about the new file might try it too | 00:39:27 |
countoren | changed and restarted the deamon. do you know a way to check if it got it? | 00:45:31 |
Lily Foster | Hmmm, I'm not sure other than saying to try a build | 00:46:03 |
countoren | ok | 00:46:16 |
Lily Foster | Maybe you could add a postPatch = "echo $NIX_NPM_TOKENS" to your derivation and see if it's in the output | 00:46:47 |