Nix NodeJS | 209 Members | |
| 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Aug 2023 | ||
| 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 put is it correct? | 00:22:02 | |
| * 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? | 00:22:13 | |
I guess ill go with systemctl set-environment | 00:32:37 | |
In reply to @countoren:matrix.orgYou can also add a new file in that dir | 00:35:57 | |
In reply to @countoren:matrix.orgBut that works too :) | 00:36:02 | |
| so given this npmrc for my token now:
| 00:36:45 | |
In reply to @me:indeednotjames.comYep, 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 | |
In reply to @countoren:matrix.orgYeah that would become NIX_NPM_TOKENS={"npm.fontawesome.com":"111111111111111111111"} in the environment for the fetcher | 00:37:59 | |
In reply to @lily:lily.flowersthank you ill do it right, didnt know about the new file might try it too | 00:39:27 | |
| changed and restarted the deamon. do you know a way to check if it got it? | 00:45:31 | |
| Hmmm, I'm not sure other than saying to try a build | 00:46:03 | |
| ok | 00:46:16 | |
Maybe you could add a postPatch = "echo $NIX_NPM_TOKENS" to your derivation and see if it's in the output | 00:46:47 | |
| trying to build | 00:47:22 | |
| with your branch | 00:47:26 | |
| Redacted or Malformed Event | 00:49:03 | |
* from systemctl show-enviroment : ```NIX_NPM_TOKENS={npm.fontawesome.com:111111111111111111111111111111111111} | 00:49:20 | |
* from systemctl show-enviroment :NIX\_NPM\_TOKENS={npm.fontawesome.com:111111111111111111111111111111111111} | 00:49:48 | |
| You might want to delete and resend the message. Edit history is still viewable in Matrix 🙈 | 00:49:51 | |
| lol | 00:50:00 | |
| getting those errors:
| 00:55:25 | |
| warnings sorry | 00:55:41 | |
| and this is the errors :
| 00:56:22 | |
| Can you share the contents of that file it tried to unlink? | 00:56:48 | |
| getting this too:
| 01:02:07 | |
| the file content:
| 01:03:44 | |
In reply to @countoren:matrix.orgThat's harmless | 01:04:09 | |
In reply to @countoren:matrix.orgHmmmm. Can you add postPatch = "export RUSTLOG=debug" and share log? | 01:04:56 | |
| sure | 01:05:06 | |
| When building the fetcher deriv (so you might need to fiddle with the deps hash) | 01:05:19 | |