Sender | Message | Time |
---|---|---|
16 Feb 2025 | ||
so i think what you have is actually fine, but you could also change it to just (localWrapper // extra) because i think including the stuff from pkgs is implied by using pkgs.newScope above | 04:50:50 | |
In reply to @charles:computer.surgerygotcha I'll try that | 04:51:19 | |
if it doesn't work then just pretend i didn't say anything :P | 04:51:32 | |
tangentially related:
| 05:16:35 | |
* tangentially related:
| 05:17:13 | |
llakala: okay i did some more testing and read the source of
| 06:30:22 | |
* llakala: okay i did some more testing and read the source of
| 06:31:07 | |
* llakala: okay i did some more testing and read the source of
| 06:31:57 | |
* llakala: okay i did some more testing and read the source of
| 06:32:17 | |
so um | 08:30:14 | |
I apologize for making a support request, I know everyone's stretched thin | 08:30:24 | |
lately when I try to build certain things (there's not much pattern to it) I get messages along the lines of | 08:30:41 | |
` | 08:30:42 | |
| 08:30:46 | |
and it just refuses | 08:30:54 | |
removing ~/.cache/nix/ doesn't help | 08:31:04 | |
sometimes, for reasons I don't understand, building pieces of it manually causes the problem to go away as if it has never been | 08:31:17 | |
only to recur a week or two later | 08:31:21 | |
I don't know for sure that this is a lix problem | 08:31:31 | |
but any thoughts anyone has would be welcome | 08:31:36 | |
I'm on nix (Lix, like Nix) 2.93.0-dev-pre20250120-5f1782a which I realize may be slightly old | 08:31:46 | |
In reply to @charles:computer.surgeryHonestly, this is genuinely the best implementation of sum types I've seen for a dynamically typed language, and also it ties in really well with the idea of using lists as tuples | 09:33:43 | |
Though I'd probably stringify the enum tag instead of using a boolean, especially in combination with symbol optimization (strings in the symbol table compress down to u32) | 09:35:07 | |
In reply to @irenes:matrix.orgIIRC this was indeed a regression on master and the date sounds like you could still be affected. So it probably makes sense to try upgrading. | 09:40:24 | |
hmm thanks! | 09:42:11 | |
10:14:30 | ||
In reply to@piegames:flausch.sociali am now afraid to ask, how are booleans stored? | 11:32:12 | |
In reply to @noob_tea:matrix.orgMaybe I was a bit unclear: I'd prefer strings over booleans for usability reasons, and there are ways to do so without eating performance | 11:33:57 | |
In reply to@piegames:flausch.socialah okay, I thought you implied that booleans would be larger than an u32 (which would be terrible, but not that surprising, knowing nix) | 11:35:46 | |
I mean they are, at least in the sense that all Nix values are 24 byes (IIRC), but string are still slower because of more allocations and bookkeeping (string context etc.) | 11:38:05 |