Lix | 1104 Members | |
| Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms | 294 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Nov 2025 | ||
| Yes, good | 11:19:02 | |
| When developing my registrationtime updating code I consistently hit https://git.lix.systems/lix-project/lix/src/branch/main/lix/libstore/local-store.cc#L784 until I moved the update query around a little bit so I'm not so sure. Database was never corrupted. As far as I'm able to comprehend I'm trying to lock the correct way. I don't know what the takeaway here is but it was curious to troubleshoot 😆 | 12:19:43 | |
| maybe you incorrectly expired entries from the DB? | 12:20:34 | |
| I just update the time, never remove anything. But actually looking at it again. Why is there no RETRY_SQLITE around https://git.lix.systems/lix-project/lix/src/branch/main/lix/libstore/local-store.cc#L780 like all other query functions in this class? 🤔 | 12:21:39 | |
| because it's probably up to the caller to do the retry and there might be some optimistic querying happening here? | 12:22:08 | |
| Possibly, but moving my own query to execute after rather than before whatever the daemon op was doing worked. I'll check the paths that call queryValidPathId | 12:24:43 | |
| * Possibly, but moving my own query to execute after rather than before whatever the daemon op was doing worked. I'll check the paths that call queryValidPathId Edit: Yep all of them are from within retry SQLite lambdas | 12:25:23 | |
| I believe there's something lurking here, while I'm doing updates in "query code" I don't see how running update before a select could trigger this | 12:27:35 | |
| I've never touched async C++ before fiddling with Lix though but my intuition says I'm not doing something overly wrong, unsupported for sure but not "database is corrupt" wrong | 12:29:29 | |
| I didn't open an immediate txn 💡 | 12:36:53 | |
| 22:59:09 | ||
| 23:28:32 | ||
| 14 Nov 2025 | ||
| A bit out of the blue but I currently have the problem that lix eval (but I think also other commands) times out downloading sources but if I invoke curl directly (or in the browser) everything works fine. Does anyone know why this might happen? (verison 2.93.3)
| 09:35:49 | |
| Sounds like DNs | 10:02:43 | |
| * | 10:02:47 | |
| Yep | 10:16:31 | |
| Check that you can resolve things under 5s, that is, check the first DNS server is not dysfunctional in your resolv conf | 10:16:59 | |
| This behavior is fixed in HEAD and there should be a much more graceful timeout mechanism | 10:17:19 | |
| I currently have 3 nameserver in my resolv.conf and all of them resolve github.com in ~0.05s but lix eval still timeouts | 10:20:04 | |
| 10:55:52 | ||
| could also be stuck at e.g. tls handshake | 12:10:33 | |
| 13:56:08 | ||
| hi everyone! i stumbled upon what seems to be a lix-specific bug when trying to evaluate flakes from non-writable path (e.g. github urls.) i get different outcomes when evaluating
It seems to be caused by our CI running Nix, which is renaming | 14:03:59 | |
something i just figured out: this happens when using ?ref in a flake's input url, e.g. github:nixos/nixpkgs?ref=nixos-unstable, this issue does not occur with github:nixos/nixpkgs/nixos-unstable | 14:14:56 | |
* something i just figured out: this happens when using ?ref in a flake's input url, e.g. inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable", this issue does not occur with inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable" | 14:15:19 | |
* something i just observed: this happens when using ?ref in a flake's input url, e.g. inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable", this issue does not occur with inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable" | 14:16:07 | |
| at this point this could also be a Nix bug for all i know lol | 14:17:00 | |
In reply to @hexa:lossy.networkThat wouldn't normally be "resolving". | 15:40:02 | |
In reply to @michailik:matrix.orgThere has been some regression around ref around 2.91, uncaught and unfixed because no one cares about flakes enough. | 15:46:59 | |
| aloisw do you remember the issue number for this one? | 19:48:03 | |