| 10 Aug 2023 |
Lily Foster | Ah there should be a diagnostic message that says how to resolve openssl things after that in the log | 18:56:43 |
countoren | "build": "ng build fix1 --prod --source-map=false",
| 18:56:57 |
countoren | no | 18:57:10 |
Lily Foster | Something about openssl legacy providers. Let me go double check real quick | 18:57:36 |
countoren | no problem, Thank you | 18:57:49 |
Lily Foster | NODE_OPTIONS = "--openssl-legacy-provider" on the derivation | 18:58:06 |
countoren | right... | 18:58:17 |
Lily Foster | * `env.NODE_OPTIONS = "--openssl-legacy-provider"` on the derivation | 18:58:30 |
countoren | add it commented | 18:58:41 |
countoren | * had it commented | 18:58:55 |
countoren | Nice! GJ Lily Foster that was it. | 19:00:47 |
countoren | just need to finish wrapping it up nicely but the should be it | 19:01:26 |
Lily Foster | Oh good! I'm glad 🎉 | 19:01:49 |
Lily Foster | I'll PR the tokens thing now if it works. I might add some rust tests and docs first though | 19:02:05 |
countoren | I guess it should work as well if I add it as a normal ENV variable right? | 19:02:55 |
countoren | dont want to make it complex for the users | 19:03:36 |
countoren | another way will be a writeShellScript to load it to daemon. maybe this one is better. | 19:04:34 |
Lily Foster | Nix 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 conf | 19:05:17 |
Lily Foster | Unfortunately | 19:05:20 |
countoren | well writeShellScript that reads the npmrc wont leak it to nix store | 19:05:43 |
Lily Foster | So are you meaning a shell script that changes the daemon systemd overrides and reloads it? (Just to be clear) | 19:06:04 |
countoren | if you want I could it give it to put in docs the moment i have it | 19:06:13 |
countoren | yes | 19:06:21 |
Lily Foster | Okay if it's just a script that configures someome's system I suppose that won't leak anywhere | 19:06:41 |
Lily Foster | (Maybe make sure override file has tight perms though) | 19:06:58 |
countoren | btw could not override a file there | 19:07:20 |
Lily 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 | the entire folder is on the nix store | 19:07:29 |
Lily Foster | In reply to @countoren:matrix.org the entire folder is on the nix store Oh, rip | 19:07:37 |
countoren | systemctl set-env... | 19:08:02 |