Nix NodeJS | 209 Members | |
| 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Oct 2023 | ||
hello everyone, i am making a nodejs project and i am using devenv. i have set services.mysql.enable = true; in my flake.nix.mysql cli seems to be enabled on the environment, however, when I try to run mysqlI get this error ERROR 2002 (HY000): Can't connect to local server through socket '/link/to/repo/.devenv/state/mysql.sock' if anyone can shed some light on this, i would very much appreciate it | 02:23:23 | |
| 15:31:36 | ||
In reply to @jfvillablanca:matrix.orgThe mysql server is most likely not running (as indicated by the missing socket). | 19:57:13 | |
| 6 Oct 2023 | ||
| 16:42:44 | ||
| 17:04:21 | ||
In reply to @thiloho:matrix.orgOkay so here's an interesting one. Curl error 55 (CURLE_SEND_ERROR) should be getting set as an io error which should be retried. But it's errorkind is now Unknown instead of Io which results in the error being considered permanent, as seen in your log | 19:54:05 | |
| So what's changed is actually likely something in the rust ffi to libcurl | 19:54:21 | |
| ugh | 19:54:26 | |
| (I still haven't been able to replicate btw.... but it does not actually seem like it's due to rate limiting or anything like that) | 19:55:52 | |
| Would someone who is able to replicate the issue test builds for me if I come up with a fix? | 19:57:47 | |
| I guess I should ask on the gh issue actually | 19:57:55 | |
| I wonder if all that is needed is bumping curl-sys | 20:01:01 | |
If someone wants to test, try the flake output github:lilystarlight/nixpkgs/upd/prefetch-npm-deps-deps#prefetch-npm-deps | 20:01:33 | |
| It would be appreciated 🙏 | 20:01:40 | |
| i would like to test, but i get a 404 from github on that :( | 20:04:58 | |
| uhhhh heck | 20:05:08 | |
| One sec | 20:05:10 | |
| heck I misspelled my own name 🤦♀️ | 20:05:52 | |
* If someone wants to test, try the flake output github:lilyinstarlight/nixpkgs/upd/prefetch-npm-deps-deps#prefetch-npm-deps | 20:05:57 | |
| oh | 20:06:01 | |
| i tried it 2 times got 2 different errors | 20:09:04 | |
| looking good | 20:09:07 | |
| 20:09:36 | |
In reply to @lily:lily.flowers(If all that is needed to fix this issue of the past several weeks is to bump the crate deps on the fetcher, I'm gonna be hella embarrassed) | 20:09:47 | |
In reply to @marie:marie.cologneHmmmm those should be network errors, not unknown errors | 20:10:04 | |
| So the curl crate is still busted | 20:10:14 | |
| I'll look more later | 20:10:18 | |
| i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails | 20:35:46 | |
In reply to @marie:marie.cologneThat makes even less sense... What curl are you linking against? Are you on nixos | 20:38:18 | |
In reply to @marie:marie.cologne* That makes even less sense... What curl are you linking against? Are you on nixos? | 20:38:21 | |