!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
10 Aug 2023
@lily:lily.flowersLily FosterAh there should be a diagnostic message that says how to resolve openssl things after that in the log18:56:43
@countoren:matrix.orgcountoren
		"build": "ng build fix1 --prod --source-map=false",
18:56:57
@countoren:matrix.orgcountorenno18:57:10
@lily:lily.flowersLily FosterSomething about openssl legacy providers. Let me go double check real quick18:57:36
@countoren:matrix.orgcountorenno problem, Thank you18:57:49
@lily:lily.flowersLily Foster NODE_OPTIONS = "--openssl-legacy-provider" on the derivation 18:58:06
@countoren:matrix.orgcountorenright...18:58:17
@lily:lily.flowersLily Foster* `env.NODE_OPTIONS = "--openssl-legacy-provider"` on the derivation18:58:30
@countoren:matrix.orgcountorenadd it commented 18:58:41
@countoren:matrix.orgcountoren * had it commented 18:58:55
@countoren:matrix.orgcountoren Nice! GJ Lily Foster that was it. 19:00:47
@countoren:matrix.orgcountorenjust need to finish wrapping it up nicely but the should be it19:01:26
@lily:lily.flowersLily FosterOh good! I'm glad 🎉19:01:49
@lily:lily.flowersLily FosterI'll PR the tokens thing now if it works. I might add some rust tests and docs first though19:02:05
@countoren:matrix.orgcountorenI guess it should work as well if I add it as a normal ENV variable right?19:02:55
@countoren:matrix.orgcountorendont want to make it complex for the users19:03:36
@countoren:matrix.orgcountorenanother way will be a writeShellScript to load it to daemon. maybe this one is better.19:04:34
@lily:lily.flowersLily FosterNix just doesn't have a good way to import an env var to the builder that doesn't leak it into the store during evaluation or involve setting it on the builder daemon conf19:05:17
@lily:lily.flowersLily FosterUnfortunately19:05:20
@countoren:matrix.orgcountorenwell writeShellScript that reads the npmrc wont leak it to nix store19:05:43
@lily:lily.flowersLily FosterSo are you meaning a shell script that changes the daemon systemd overrides and reloads it? (Just to be clear)19:06:04
@countoren:matrix.orgcountorenif you want I could it give it to put in docs the moment i have it19:06:13
@countoren:matrix.orgcountorenyes19:06:21
@lily:lily.flowersLily FosterOkay if it's just a script that configures someome's system I suppose that won't leak anywhere19:06:41
@lily:lily.flowersLily Foster(Maybe make sure override file has tight perms though)19:06:58
@countoren:matrix.orgcountorenbtw could not override a file there19:07:20
@lily:lily.flowersLily Foster Or have it include an EnvironmentFile in the unit settings that you put elsewhere with tight perms is probably best 19:07:29
@countoren:matrix.orgcountorenthe entire folder is on the nix store19:07:29
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
the entire folder is on the nix store
Oh, rip
19:07:37
@countoren:matrix.orgcountorensystemctl set-env...19:08:02

Show newer messages


Back to Room ListRoom Version: 6