!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Aug 2023
@countoren:matrix.orgcountoren I guess ill go with systemctl set-environment 00:32:37
@lily:lily.flowersLily 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:lily.flowersLily Foster
In reply to @countoren:matrix.org
I guess ill go with systemctl set-environment
But that works too :)
00:36:02
@countoren:matrix.orgcountoren

so given this npmrc for my token now:

@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=11111111111111111111111111111111111111111111111
00:36:45
@lily:lily.flowersLily 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:lily.flowersLily 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:matrix.orgcountoren
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:matrix.orgcountorenchanged and restarted the deamon. do you know a way to check if it got it?00:45:31
@lily:lily.flowersLily FosterHmmm, I'm not sure other than saying to try a build00:46:03
@countoren:matrix.orgcountorenok00:46:16
@lily:lily.flowersLily 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

Show newer messages


Back to Room ListRoom Version: 6