| 25 Feb 2026 |
Sofie 🏳️⚧️ (she/her) | * | 07:10:02 |
Sofie 🏳️⚧️ (she/her) | Was there a migration service | 07:16:18 |
Sofie 🏳️⚧️ (she/her) | oh | 07:18:18 |
Sofie 🏳️⚧️ (she/her) | wrong chat | 07:18:21 |
Sofie 🏳️⚧️ (she/her) | should have been offtopic | 07:18:25 |
raitobezarius | stringContainsNul = s: match ".*" s == null ? (courtesy of horrors) | 11:19:31 |
raitobezarius | it could already go into nixpkgs' lib | 11:19:54 |
raitobezarius | I don't think the problem is that NUL bytes can have an effect on drvhashes, that's ifne | 11:20:59 |
raitobezarius | * I don't think the problem is that NUL bytes can have an effect on drvhashes, that's fine | 11:21:00 |
K900 | W h a t | 11:23:11 |
raitobezarius | POSIX ERE doesn't match NUL bytes | 11:23:26 |
K900 | Beautiful | 11:23:52 |
emily | so that means lib.hasInfix is broken when strings contain NUL bytes | 11:31:37 |
emily | nix-repl> lib.trimWith { start = true; end = true; } (builtins.fromJSON ''" a\u0000b "'')
""
| 11:33:02 |
emily | and makes lib.strings.sanitizeDerivationName abort despite being a total function prior to NUL bytes | 11:34:19 |
emily | and there is probably no good alternative for doing a lot of those tasks because the regex functions compensate for Nix's anaemic string processing to begin with | 11:35:00 |
raitobezarius | sounds like good problems to solve, albeit I doubt we will run into them yet in practice? | 11:39:05 |
emily | but now solving them would break eval compatibility, especially if we put that sniffing function in lib :) | 11:42:10 |
emily | unless you mean, entirely new set of string processing functions | 11:42:32 |
raitobezarius | this is what I meant | 11:43:16 |
piegames | Yes please | 11:45:17 |
piegames | I want a Nix stdlib that is actually good | 11:45:33 |
piegames | But also, "actually good" to me means "not passing around functions in attrsets via builtins" | 11:47:29 |
piegames | But that new syntax will require langver | 11:47:46 |
| dinckelman joined the room. | 12:55:07 |
silver | waves K900 told me to pop this here.
Basically on nix (Lix, like Nix) 2.94.0 and was getting build errors. did a min example and fetchurl was not able to download anything Host system could K900 recommended adding --option pasta-path "" to the build command and it worked
I did note:
Only the first DNS server in /etc/resolv.conf is considered: failover is not possible.
But first nameser works ok, (can dig and use curl) And the error was not about resolving the domain, it was about connecting to it
curl: (7) Failed to connect to forgejo.skynet.ie port 443 after 1 ms: Could not connect to server So I doubt it is that
Another thing to note is that This server is in LXC (proxmox)
| 13:08:27 |
| 13 May 2024 |
| zrsk joined the room. | 13:37:30 |
| dariof4 joined the room. | 14:16:05 |
| abbe joined the room. | 14:42:22 |
mjm | lix is now in nixos-unstable, what's the best way to use it in a NixOS config? | 15:47:41 |